Re:Static checking of units in Servo
by CyberShadow on Tuesday June 24, 2014 @01:01AM
(#7936260)
Have you looked at D yet? It scores 4/5 by your mark, and they're working on the fifth point.
Here's the documentation for the proposed units module. I believe it has the same principles as Boost units:
The language in common use with the closest syntax to Algol is probably Bourne shell.
Re:Static checking of units in Servo
by coolsunglasses on Monday June 23, 2014 @07:11PM
(#7935339)
One or two of your five objections are valid and not because you're well-informed.
Let me know if you'd like to know more.
Let's see:
1) Not algol derived syntax (check) 2) Speed (check -- I don't care about the: "you can write it totally unidiomatic and squeeze it to almost C or even better for some microbenchmark" situation). 3) Degree in type theory (meant as a joke anyway, refers to the steep learning curve of the tons of concepts introduced). 4) Laziness (don't care about the "you can switch it off" situation). 5) Has a GC (check).
Is there anything I really missed? In real life, classical use, as opposed to "if you really try and want it, you can also do it this way"?
Lusting over a language that borrows its syntax from the Algol we all love and doesn't require a degree in Type Theory?
Oh, and without laziness, and with speed and no-GC guarantees...