News for hackers. Stuff that matters.
Re:GNU Pascal Compiler by baq on Thursday April 27, 2023 @07:12AM (#35726301)
Go is basically Pascal with a sprinkle of first class concurrency anyway…
Re:GNU Pascal Compiler by anta40 on Thursday April 27, 2023 @07:25AM (#35726410)
One of Go's designer, Rob Griesemer, was a Phd student Niklaus Wirth. Hmm...
Re:GNU Pascal Compiler by pjmlp on Thursday April 27, 2023 @07:33AM (#35726480)
Go's method syntax is taken from Oberon-2, just like unsafe package is pretty much the same purpose as SYSTEM.
Re:GNU Pascal Compiler by AnimalMuppet on Thursday April 27, 2023 @08:31AM (#35727050)
And, if I understand correctly, Go stole its object file format (or at least large-scale design) from Modula-2.
Re:GNU Pascal Compiler by pjmlp on Thursday April 27, 2023 @08:36AM (#35727094)
That I doubt it, given Modula-2 package design, how symbols are made public and type system differences.

If you mean packages as modules, other languages predate Modula-2 in that matter.

Re:GNU Pascal Compiler by AnimalMuppet on Thursday April 27, 2023 @08:59AM (#35727376)
No, I mean the object file defines the public symbols at the start of the file. Go very deliberately stole that feature. Rob Pike said that using that idea let Go do something faster when compiling, though I don't remember the details.
Re:GNU Pascal Compiler by Tozen on Thursday April 27, 2023 @08:13AM (#35726873)
There is some embellishment in that statement, but people coming from Pascal/Oberon would likely feel much more comfortable using Go, than other C family languages. This would also include Vlang, and to an extent, Odin as well. These two have both been heavily influenced by Go and Pascal.