Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
kyllo
on April 11, 2014
|
parent
|
context
|
favorite
| on:
Heartbleed and Static Analysis
Aren't strings immutable in most languages? Like in javascript, String.slice() returns a copy, it does not mutate the original string.
I don't disagree with you, but I don't see how it's a disastrous problem, either.
WalterBright
on April 12, 2014
[–]
In D, which has ptr/length arrays, strings are immutable and sliceable without copying. This can make them very fast.
Guidelines
|
FAQ
|
Lists
|
API
|
Security
|
Legal
|
Apply to YC
|
Contact
Search:
I don't disagree with you, but I don't see how it's a disastrous problem, either.