Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
anta40
on April 27, 2023
|
parent
|
context
|
favorite
| on:
GNU Pascal (2005)
One of Go's designer, Rob Griesemer, was a Phd student Niklaus Wirth. Hmm...
pjmlp
on April 27, 2023
[–]
Go's method syntax is taken from Oberon-2, just like unsafe package is pretty much the same purpose as SYSTEM.
AnimalMuppet
on April 27, 2023
|
parent
[–]
And, if I understand correctly, Go stole its object file format (or at least large-scale design) from Modula-2.
pjmlp
on April 27, 2023
|
root
|
parent
[–]
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.
AnimalMuppet
on April 27, 2023
|
root
|
parent
[–]
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.
Join us for
AI Startup School
this June 16-17 in San Francisco!
Guidelines
|
FAQ
|
Lists
|
API
|
Security
|
Legal
|
Apply to YC
|
Contact
Search: