Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
mrkurt
on Dec 3, 2009
|
parent
|
context
|
favorite
| on:
The Generic Dilemma in Go
It's worth noting that "slow compilation" often translates directly into "slow programmers".
derefr
on Dec 3, 2009
[–]
What's wrong with using both approaches: debug binaries get compiled with boxing generics, while release compiles using macros?
extempore
on Dec 4, 2009
|
parent
|
next
[–]
Scala offers both (not in a release version yet, but not far off) by way of @specialize.
http://www.scala-lang.org/sid/9
stcredzero
on Dec 3, 2009
|
parent
|
prev
|
next
[–]
Or have the former as the default, and allow the programmer to opt for the second, if the optimization is needed?
gfodor
on Dec 4, 2009
|
parent
|
prev
[–]
Cool idea. Has this been done in any language before?
Guidelines
|
FAQ
|
Lists
|
API
|
Security
|
Legal
|
Apply to YC
|
Contact
Search: