16 ms·
> > ... there is no other language I can think of with such a small surface area that I can tell students in the first week to learn and deliver an assignment b
by bsder 12y ago
> > ... there is no other language I can think of with such a small surface area that I can tell students in the first week to learn and deliver an assignment by the second week
As a lecturer, Python would be my other choice, nowadays, for a small surface area language.
I suspect Go has the advantage here simply because it barks at you at compile time over certain errors. Pedagogically, something that students have to run that checks the syntactic validity of their program is probably win.
I emigrated from Lisp->C->Tcl->Perl->Python over about 30 years and Python is still the thing I reach for when I have to whip up a program (yeah, Lisp was nice but I could never afford a machine with enough memory for it not to be a toy--memory was expensive at one point, you youngsters).
Go doesn't really interest me that much. It's a little better at a broad range of things, but nothing that pulls me from the existing set of languages. I'd rather use Erlang for concurrency, for example. Maybe if I had Google-sized codebases I'd care more.
Rust interests me because it is in the same range as most languages for most things but is a LOT better at a very few things.
I'm waiting to hear somebody use Rust in a video game engine. I suspect that C++ will vaporize (one can hope) once someone proves that Rust works in production.
- Manishearth 12y agoYeah, Python works too, though Go is great at concurrency in a way Python isn't (we were spawning loads of goroutines for tests without any issue, for example, and channels are well supported) so it fits better. I too am a Python fan for scripting though :) > Rust interests me because it is in the same range as most languages for most things but is a LOT better at a very few things. Me too, for similar reasons. It's like C++, but without all the stuff I didn't like about C++ :) > I'm waiting to hear somebody use Rust in a video game engine. http://github.com/PistonDevelopers/piston http://github.com/PistonDevelopers/piston
- bsder 12y agoThe ability to use OpenGL in a way that doesn't suck would be nice. Thanks for the pointer. I need to think about this a lot. I've got a particular project in mind (VLSI design) and the thing that has always stopped me is that the UI toolkits can't deal with concurrent actions. OpenGL and multi-threading are asking for disaster with C/C++. Rust might let me break that logjam. Clojure was close, but JOGL still remains a disaster.