Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
derefr
on Dec 3, 2009
|
parent
|
context
|
favorite
| on:
The Generic Dilemma in Go
What's wrong with using both approaches: debug binaries get compiled with boxing generics, while release compiles using macros?
extempore
on Dec 4, 2009
|
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
|
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
|
prev
[–]
Cool idea. Has this been done in any language before?
Consider applying for YC's Winter 2027 batch!
Applications
are open till November 2.
Guidelines
|
FAQ
|
Lists
|
API
|
Security
|
Legal
|
Apply to YC
|
Contact
Search: