[Grace-core] Python is now number 1!!

Andrew P Black andrew.p.black at gmail.com
Fri May 1 16:59:25 PDT 2015


On 30 Apr 2015, at 23:49 , Kim Bruce <kim at cs.pomona.edu> wrote:

> Sigh:  http://cacm.acm.org/blogs/blog-cacm/176450-python-is-now-the-most-popular-introductory-teaching-language-at-top-us-universities/fulltext
> 
One of my students posted the following on my class Piazza site:

You might find the language Nim interesting.
Nim is a language with Python-like syntax, optional type checking, named arguments, operators as methods, memory-safe references, first-class functions, Ruby-style metaprogramming, precompile templates with full parsing and type checking, and assorted other interesting features, along with full object inheritance, casting, etc support.
 
It does have the interesting touch, though, that methods aren't attached directly to objects - instead, calling x.foo(y) is the same as calling foo(x, y), and method overloading with typed arguments is used if a method needs to be limited to acting on a certain type.
 
It also compiles to memory-safe C using only stdlib, and can use arbitrary C libraries with simple wrapper scripts. interestingly, it'll also compile to Javascript that can be dropped right into a browser, though with a couple of sacrifices because of the nature of the language (like proper 64-bit math or manual memory management).
 
http://nim-lang.org/learn.html

The goals of Nim are different from ours, but their web site and implementation puts us to shame.

	Andrew

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailhost.cecs.pdx.edu/pipermail/grace-core/attachments/20150501/026d4d4a/attachment.html>


More information about the Grace-core mailing list