News for hackers. Stuff that matters.
Re:Energy Efficiency Across Programming Languages by Kamgunz on Thursday September 14, 2017 @07:33PM (#15253377)
Maybe somebody needs to create a more palatable language, that'll transpile (I know, I know, compile) into pascal?
Re:Energy Efficiency Across Programming Languages by mamcx on Thursday September 14, 2017 @08:22PM (#15253593)
This guys made a pascal-like language:

http://www.elementscompiler.com/elements/oxygene/

Exist various dialects of pascal (Modula, Oberon, etc) so is not something so far in the wind.

But if you lose too much of the syntax you remove part of the charm.

Re:Energy Efficiency Across Programming Languages by fasquoika on Thursday September 14, 2017 @09:34PM (#15253896)
Palatable how? Pascal's syntax is not especially different from that of most scripting languages
Re:Energy Efficiency Across Programming Languages by andrewflnr on Thursday September 14, 2017 @10:24PM (#15254104)
Every time I look at the syntax, it feels really verbose. IIRC some dialects require all caps or initial caps on keywords; at any rate that's how most examples are shown, and it's rather off-putting. Superficial, I know, but I'm probably not the only one.
Re:Energy Efficiency Across Programming Languages by fasquoika on Friday September 15, 2017 @11:19AM (#15257843)
I don't know about other implementations but FreePascal is completely case insensitive. Identifiers are actually treated the same if the only difference is case. I don't particularly like this, but I've never seen it actually be an issue
Re:Energy Efficiency Across Programming Languages by pjmlp on Friday September 15, 2017 @04:16AM (#15255514)
That was what I was looking for in Go, but they seem to have other goals in mind.

Failing that there is always Ada, .NET Native, Kotlin Native, D,...