Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
anonymoushn
on March 28, 2021
|
parent
|
context
|
favorite
| on:
Ohm – A library and language for building parsers,...
By type-driven dispatch do you mean dynamic dispatch on more than 1 parameter? Most statically typed languages do not have this and you have to write a bunch of boilerplate to get them to pretend that they do.
mintplant
on March 29, 2021
[–]
No, I'm referring to things like specialization, which you'll see used in any large language runtime built in C++, for example.
anonymoushn
on March 29, 2021
|
parent
[–]
So "type driven dispatch" meant only dispatch that can be decided at compile time? Is it even called dispatch at that point?
mintplant
on March 31, 2021
|
root
|
parent
[–]
Yeah, static dispatch.
Guidelines
|
FAQ
|
Lists
|
API
|
Security
|
Legal
|
Apply to YC
|
Contact
Search: