News for hackers. Stuff that matters.
Re:The Rise of Python for Embedded Systems by khedoros1 on Thursday July 20, 2017 @05:59PM (#14816657)
> My background is Aerospace Engineering and maybe that's why I can't understand why nobody does a real, AOT, Python compiler.

Python's a very dynamic language; a lot of things are inherently determined at run-time. You could build a less-dynamic language (and enforce type annotations and all that), but then that's hard to call "Python", right? At least we'd be free of things like this:

#Scans the module for methods starting with "do_", and puts their names in a list available_actions = [ method[3:].lower() for method in dir(this_module) if callable(getattr(this_module, method)) and method[:3] == 'do_' ]

There are no comments on this comment yet.