Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
mratsim
on July 3, 2020
|
parent
|
context
|
favorite
| on:
Ray Tracing in Nim
Are you aware of D libraries in that vein? I'm especially interested in the first 2, since those are something I'm actively working on at the moment.
moonchild
on July 3, 2020
[–]
I don't know of any DSLs, but the stdlib arbitrary precision integer library works just fine at compile time:
enum x = BigInt("0xffffffffffffffffffffffffffffffff") % 2; writeln(x);
('enum' means 'make this value a compile-time constant; error if you can't')
Consider applying for YC's W25 batch! Applications are open till Nov 12.
Guidelines
|
FAQ
|
Lists
|
API
|
Security
|
Legal
|
Apply to YC
|
Contact
Search: