HackerTrans
TopNewTrendsCommentsPastAskShowJobs

myrrlyn

no profile record

comments

myrrlyn
·قبل 4 سنوات·discuss
why isn't it inconsistent to allow creation of a record with missing components but to deny creation of a stack frame with missing components
myrrlyn
·قبل 4 سنوات·discuss
good
myrrlyn
·قبل 4 سنوات·discuss
yeah the actual titleholder to those is seattle
myrrlyn
·قبل 4 سنوات·discuss
rustup is available in your package manager's repository
myrrlyn
·قبل 4 سنوات·discuss
> C is an amazing language

[citation needed]

> the best way to use C is to use it to implement core algorithms and data structures

is this a joke. you literally cannot write containers in C unless you commit to heap-allocating everything and storing it as void*

> Most software engineers I know who have a background in EE love C, simply because it maps very well to what a processor actually does during execution.

lol. no it absolutely does not. i have a B.S. CpE and have actually built simple processors. the C execution model has nothing to do with how silicon operates, and modern silicon in particular goes to absurd lengths to put up a façade that c programs can use to pretend they're still on a pdp-11 while the processor goes and does other things.

easy example: here's a memory address. what happens when you try to read from it
myrrlyn
·قبل 4 سنوات·discuss
lol.
myrrlyn
·قبل 4 سنوات·discuss
given that the sole purpose of software is to do what people want, "it didn't do what i want" is automatically incorrect behavior
myrrlyn
·قبل 5 سنوات·discuss
is this going well for you
myrrlyn
·قبل 5 سنوات·discuss
?
myrrlyn
·قبل 5 سنوات·discuss
> Rust must stabilize its ABI if it seeks to be a useful systems language.

? no it mustn't. what's the c++ abi
myrrlyn
·قبل 5 سنوات·discuss
> Having multiple implementations is a sign of a healthy programming language

this is frequently taken as axiomatic but there's no actual support for it in reality. there are plenty of healthy single-implementation languages (go, rust, scala, erlang) and plenty of unhealthy multi-implementation languages (c, d, sql, javascript) to go alongside the healthy/multi (python, ruby) and unhealthy/single (php, i guess, i don't care about this quadrant very much)
myrrlyn
·قبل 5 سنوات·discuss
why not
myrrlyn
·قبل 5 سنوات·discuss
(there are none)