Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
jof
on Jan 4, 2012
|
parent
|
context
|
favorite
| on:
Never create Ruby strings longer than 23 character...
Isn't this what C99's uintptr_t type tries to address?
archangel_one
on Jan 4, 2012
[–]
Yes, exactly. I'm just a little curious since, without knowing anything about the code at all, unsigned long doesn't seem like a great choice. I'm sure the Ruby devs would know this though so I expect there must be some reason for it.
bhousel
on Jan 4, 2012
|
parent
[–]
Here's the code:
https://github.com/ruby/ruby/blob/trunk/include/ruby/ruby.h#...
It looks like uintptr_t support is there, just disabled for now.
archangel_one
on Jan 4, 2012
|
root
|
parent
[–]
Thanks - the fallback to long long explains it for me.
Join us for
AI Startup School
this June 16-17 in San Francisco!
Guidelines
|
FAQ
|
Lists
|
API
|
Security
|
Legal
|
Apply to YC
|
Contact
Search: