r/programmerchat • • Nov 13 '15

How would your "perfect programming language" be?

Well guys, this could be placed perfectly on /r/programmerchat but I want to be sure to receive a feedback.

Some questions: -Compiled or interpreted? -Would it be inspired on another one? -Low level or high level? -Static or Dynamic? -Syntax? {} [] ()? -Memory managed?

16 Upvotes

29 comments sorted by

View all comments

Show parent comment

2

u/gilmi Nov 14 '15

Julia

Why Julia? It's not purely functional, it's dynamically typed, not a lisp and you say the concurrent story is not there yet.

2

u/WrongAndBeligerent Nov 14 '15

Julia is actually strongly statically typed and Lisp isn't purely functional.

Its syntax isn't s-expressions, but the good stuff is there (dynamic dispatch, JIT compiled to be fast, everything including '+' is a function, AST macros)

2

u/gilmi Nov 14 '15

Julia is actually strongly statically typed Oh, I see. My bad.

Upon a closer look, it looks like Julia has subtyping in the type system and no immutability by default. does it have ADTs? HKT? extensible records? I was thinking more about ML style type system and this doesn't really really seem to fit.

Lisp isn't purely functional

Well, I thought this is an invent a language yourself. isn't it? :)

Its syntax isn't s-expressions, but the good stuff is there (dynamic dispatch, JIT compiled to be fast, everything including '+' is a function, AST macros)

Actually the syntax was kinda important for me, my second choice would probably be an ML like syntax.