HackerTrans
TopNewTrendsCommentsPastAskShowJobs

kilon

no profile record

comments

kilon
·3 yıl önce·discuss
Here you go https://pypi.org/project/pylivecoding/
kilon
·3 yıl önce·discuss
Built a live coding library for python that allows me to reload code I edited while it was executing. It has repl and debugger support and it can be run even for embedded python. It's pretty granular so it can reload modules or even individual objects. Unlike the existing module reload python function it can change object references to the updated code and delete old objects and their references from memory. This way in the next call only the latest code is executed. I built something similar for C code too.
kilon
·7 yıl önce·discuss
The irony of the thing is that in manual memory management languages you end up doing your own garbage collectors and in garbage collector languages you end up doing your own manual management. Unfortunately if you look in a language to solve such complex problems you are heading straight to severe disappointment land. Same shit different package. I still prefer dynamic languages by a long margin because of their ability to do decent metaprogramming and reflection which is essential for managing any form of data. Pick your poison and enjoy the hype while it lasts.