Hacker News new | ask | show | jobs
by le-mark 3225 days ago
Looking at the examples, not sufficiently different from C to be interesting, imo. Also, go?

Edit; Adding a bit more; when I think of a C like language I'd like to have, I'd like exceptions (naive impl with setjmp longjmp for example), and Java like "everything's a pointer, all allocation on the heap". And reference counting gc. I don't think anyone else would like this :)

3 comments

I would want

    - String type that has the memory managed by the runtime
    - Some perl:  if (buf =~ /regexp/) 
    - associative arrays as a built in thing
and I have such a language, sort of, here:

http://www.little-lang.org/

You're right, because exclusive heap allocation would be so slow that it would defeat any advantage of using this new language over C
No love for Vala?
No, I really admire vala, my understanding it's kind of dead ie won't migrate to future versions of gtk. What's your take on it?
I generally like the language, and its compiles-to-C model. It doesn't pretend to be anything other than what it is: a GObject-specific language, not really a competitor to C++.

I seem to recall that the bindings weren't totally up-to-date though. The latest GTK outpaced the available Vala bindings.

My take on Vala is Lazarus. (Won't really miss refcounting once you get used to create/try/finally pattern)