Fish in a Barrel Principal and co-founder. Core developer of Django, PyPy, CPython, PyCA Cryptography. US Digital Service alumni. Former Firefox Security. Retired Python Software Foundation board member.
It's not a java virtual machine; a java virtual machine executes a specific instruction set. It's a VM that runs the dalvick bytecode, and a Java source to dalvick compiler.
I gave a talk yesterday on implementing a VM in 30 minutes. I'm not sure how well it went (it's a lot of material for 30 minutes), but I hope I at least got some people excited about implementing languages.
I think it matters more than you give it credit. Michigan State did an experiment where they replaced one of the Intro to CS classes (which were formally in C++) with Python. The result they found is that for people who went on to CSII (in C++), they did just as well; but for people who were non-CS majors, a) they did significantly better than non-CS majors starting with C++, and b) they were more likely to take more CS courses. So if you're someone already committed to programming or computer science, maybe it doesn't matter, but if you're trying to get your feet wet, it matters a great deal.
Because the hello world program has so much boilerplate. It means from the get-go you're telling students, "Don't worry about this, and this, and that; ignore it and we'll explain it later." You could go months into learning programming before you need to understand what a static method is, but it's right there in your first program.
Yeah, or I can live in some other big city that doesn't have all the shitty parts (or at least less of them). Plus it has all the good stuff. Please stop with this insane dichotomy that I have to choose between the stuff I like and living somewhere without crap. Damnit I want it all, and I'm getting it.
They've introduced S-Gen which is a good, precise, generational collector. I don't know if it's the default, but it is considered production ready IIRC.
You can make an argument that we should be contemplating changing our constitution, but what I read you saying was: "How about you just do whatever you want, instead of trying to actually follow the law?"
The only issue that comes up is synchronization, because it requires maintaining identity, localized escape analysis alleviates a lot of the burden here, but the fact remains that anytime you escape an Integer you'll need to allocate it, because you might want to synchronize on it, without the synchronization issue you can come up with schemes to avoid allocating even if the object does escape. Every other issue can be handled by a compiler optimization (either AOT, or JIT).
An alternative to what? Standardized testing? How about, non-standard testing? Do we have such a dearth of qualified teachers that we think we need to strip the people in charge of the classroom of any discretion? What sort of cognitive dissonance does it take to say, "Gee, this person can teach our kids the material, but they probably have no ability to evaluate whether the kids learned it".
Small world, Dave and I just ran into issues related to this a week ago (I suppose it may have motivated his email). Namely that there was no single API to get the assembler generated for an RTL (register-transfer-language, GCC's final IR) node without going through some destructive APIs.
I seriously doubt it, considering a) RPython is a strict subset of Python, operating on the in memory representation of Python objects and does aggressive type inference, whereas Cython adds additional features (and syntax) to the language and has it's own parser and no type inference (AFAIK), and b) RPython predates Cython, AFAIK.
Yeah, this is really unfortunate. I run a game thread generator for the NBA subreddit (essentially just builds a nice pre-game data table for a user to create a thread), I guess it's going to stick with insane scraping for now: https://github.com/alex/nba-gamethread
This is really bad advise. If I commit a TODO to my code, it's because the difficulty of fixing vastly outstrips the value of fixing it. If it was an easy thing to fix, I'd have done it myself.
Yes. I dropped out of high school during my sophomore year, I spent the next 18 months of so teaching myself to program, economics, and a bunch of other stuff. It wasn't taking a break from work, but I figure it's relevant.