News for hackers. Stuff that matters.
Re:Nim compiler — Pascal source code by keyle on Sunday November 29, 2020 @05:17AM (#25244182)
I'm not sure what the OP was trying to show with this.

It's certainly cool and interesting to see that nim(rod) was written in pascal 11 years ago?

I love Pascal, I just give up on it too fast. But man it's fast, compiles fast, "easy" to use, until you start doing real world stuff.

Re:Nim compiler — Pascal source code by pjmlp on Sunday November 29, 2020 @05:46AM (#25244315)
Having used all Borland compilers since Turbo Pascal 3 all the way up to around the first set of Delphi versions, and a couple of UNIX Pascal compilers as well, I wonder what is so hard for real world stuff.
Re:Nim compiler — Pascal source code by ksec on Sunday November 29, 2020 @06:29AM (#25244517)
I continue to wonder if we have even exceed Delphi in terms of RAD today.

There are so many things that were better in its field, domain or niche but simple got washed out in History. It was only the other day someone commented Rails, despite its similarity in concept and execution, it is still not as good as good old Enterprise Objects Framework from NeXT.

Re:Nim compiler — Pascal source code by pjmlp on Sunday November 29, 2020 @07:42AM (#25244834)
Depends on how you look at it, I certainly feel like using Delphi when doing .NET and Java development, which are also the development stacks that took the spotlight away from Delphi (alongside Borland's mismanagement).

What they miss in regard to Delphi is proper AOT to native code capabilities, something that they should have supported (from my point of view) since version 1.0. Java had it via commercial JDKs (which only enterprises cared about), .NET via NGEN, mono aot and some research stuff like CosmOS, Singularity or Midori.

However now 20 years later they are finally realising that must be an option, but that is mostly thanks to the competion from Go, Rust, Swift and friends than anything else.

Interesting that you mention EOF, it eventually became WebObjects (in Java) and it was due to NeXT / Sun collaboration that J2EE was born. Many Java bashers don't realise how much influence Objective-C had in the Java ecosystem, in language features, language runtime, and yes J2EE.

Regarding things being washed out of history, check out on Burroughs, VMS, Solo Pascal, Mesa, Multics, PL.8 for examples of systems programming before C was at all relevant outside Bell Labs walls, the Xerox PARS Workstations namely Interlisp-D, Mesa, Mesa/Cedar, Smalltalk or Wirths linage of Modula-2 and Oberon derived work based on Xerox PARC work.

Unfortunely computer history isn't something that most computing degrees spend time on.

Re:Nim compiler — Pascal source code by ksec on Sunday November 29, 2020 @01:35PM (#25246944)
On EOF ,It was actually an answer from Quora [1] and a comment on HN [2]. I didn't have the luxury of playing with WebObject then, I remember it was quite expensive, but I have only heard good things about it.

>What they miss in regard to Delphi is proper AOT to native code capabilities

May be I am just a fan of Pascal. Which for some reason most developers hate and opt for PL with more C like syntax.

>Unfortunely computer history isn't something that most computing degrees spend time on.

Yes. We end up not knowing the how and why it was like that in the first place. And ends up with people reinventing everything.

[1] https://www.quora.com/What-was-it-like-to-be-a-software-engi...

[2] https://news.ycombinator.com/item?id=25199154

Re:Nim compiler — Pascal source code by turminal on Sunday November 29, 2020 @08:16AM (#25244952)
Sorry if this is obvious, I have no experience with Delphi, but what is AOT?
Re:Nim compiler — Pascal source code by pjmlp on Sunday November 29, 2020 @08:18AM (#25244965)
Compilation to native code Ahead Of Time.
Re:Nim compiler — Pascal source code by WalterGR on Sunday November 29, 2020 @12:19PM (#25246456)
(The term is general - not specific to Delphi.)
Re:Nim compiler — Pascal source code by jpcooper on Sunday November 29, 2020 @06:51AM (#25244613)
What was so good about Enterprise Objects Framework? I don’t know much about Rails either, by the way.
Re:Nim compiler — Pascal source code by pjmlp on Sunday November 29, 2020 @08:37AM (#25245041)
It was a proper object entity relationship mapping framework to relation databases, already available in 1990's NeXTSTEP.

http://www.kevra.org/TheBestOfNext/page570/page571/page573/p...

Re:Nim compiler — Pascal source code by jpcooper on Sunday November 29, 2020 @08:48AM (#25245078)
Thanks. Will have a read.
Re:Nim compiler — Pascal source code by HacklesRaised on Sunday November 29, 2020 @06:08AM (#25244430)
I read "I couldn't find libraries that did most of what I needed and I couldn't be bothered to contribute said libraries"
Re:Nim compiler — Pascal source code by pjmlp on Sunday November 29, 2020 @07:32AM (#25244785)
Not even written in C? Because language interop is a thing, unless one is religously following the mantra of being a X-lang developer instead of embracing polyglot skills.
Re:Nim compiler — Pascal source code by cy_hauser on Sunday November 29, 2020 @09:35AM (#25245304)
Or unless you're coding simply because you enjoy the experience and don't care about the interop and making a wide use language at that point.
Re:Nim compiler — Pascal source code by pjmlp on Sunday November 29, 2020 @09:55AM (#25245415)
When I find a issue that could be more practical do in C++ instead of Java or .NET, instead of throwing away my productivity out of the window and rewrite everything into something else, I just write a tiny wrapper for what is missing and write everything else in Java or .NET languages.

Just like I used to call Windows DLLs or COM libraries from TPW and Delphi.

Which incidently is how Google pushes everyone to write native code on Android, as little as possible, just tiny native libraries. Even the NativeActivity is just a regular Java Activity implementation with predefined native methods declarations that the shared object is expected to fill in, to be properly called from the framework.