Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
nec4b
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
35 ms
·
481.
▲
by
nec4b
5y ago
It is an architectural detail. MIPS for example doesn't have a carry flag. You have to do the exact same procedure in assembly on MIPS you have described in your previous comment when doing multiple word addition.
482.
▲
by
nec4b
5y ago
I have nothing against Algol. Turbo Pascal was my first language (i agree with you about Turbo C). I loved it at the time. But C is different. The same way Lisp is different. It is just one of those languages which have a very simple core i
483.
▲
by
nec4b
5y ago
You're hung up on words. I know they made it. It was based of Ken Thomson's B. They chose it, when they could have taken some other existing language. I see great beauty and simplicity in C the same way I see it e.g. in Lisp or Ja
484.
▲
by
nec4b
5y ago
Portable by definition means it cannot capture every specific detail of every architecture out there.
485.
▲
by
nec4b
5y ago
Cool, I will definitely look it up.
486.
▲
by
nec4b
5y ago
I don't disagree with you on C being popular because of UNIX. I do disagree if you believe this is the only reason why it still enjoys popularity. And you are selling the UNIX authors short if you think they chose C just for the fun of
487.
▲
by
nec4b
5y ago
A simple c library: https://github.com/projectNe10/Ne10 You have not yet shown an argument for why c is not a portable assembly.
488.
▲
by
nec4b
5y ago
I know you keep repeating it. You are conveniently ignoring plenty of other commercial OSs and languages which were successful.
489.
▲
by
nec4b
5y ago
I'm happy you learned something.
490.
▲
by
nec4b
5y ago
This tool helps as much with C (or even higher level languages) as it does with Assembly. It doesn't change the fact both languages work on the same abstract machine model.
491.
▲
by
nec4b
5y ago
I'm not arguing that it is not? It's funny though how many people saw value in C but not in Algol. Maybe C has something going for it?
492.
▲
by
nec4b
5y ago
I don't know what are you trying to say? How does this follow from the parent post?
493.
▲
by
nec4b
5y ago
No he was definitely wrong. Ask any C developer. His comment: https://news.ycombinator.com/item?id=20828974
494.
▲
by
nec4b
5y ago
Nope in the above comment you claim something else. Here is where you claim C requires UNIX like OS: https://news.ycombinator.com/item?id=20828974 Let me tell you, in embedded development we run C on bare metal or under RTO
495.
▲
by
nec4b
5y ago
You once claimed C requires UNIX like OS to run.
496.
▲
by
nec4b
5y ago
Have you? I used to write device drivers mostly on ARM architectures and I have newer seen an instruction which would let me precisely control CPU instruction ordering or what it does with cache that I couldn't do in C.
497.
▲
by
nec4b
5y ago
You do realize there is a lot of C code out there which has nothing to do with UNIX. Although I do remember when you once claimed C requires UNIX like OS to run. :)
498.
▲
by
nec4b
5y ago
C must be really amazing compared to Algol than. It powers today's computing infrastructure without having proper boolean type. Are there any widely used applications written in Algol?
499.
▲
by
nec4b
5y ago
You haven't answered the question? Maybe because is there is no concernable difference between abstract machine models of both languages? You can't do anything more about instruction reordering or cache invalidation at the CPU lev
500.
▲
by
nec4b
5y ago
Giving me a link to all those disgruntled people would help me get started.
501.
▲
by
nec4b
5y ago
No, but those things can be easily emulated on every hardware or simply not used. One more reason to use C instead of plain assembly.
502.
▲
by
nec4b
5y ago
Not all CPU's have overflow flags. On those that have them, you can also usually access them in C in a non portable way.
503.
▲
by
nec4b
5y ago
I'm so glad that you have linked this article from Chisnall. I can now ask you in what ways is the abstract model of a machine on which assembly language operates on, different from the one on which the C language operates on? This is
504.
▲
by
nec4b
5y ago
The word "portable" means a subset of everything possible. Do you think every CPU architecture supports SIMD?
505.
▲
by
nec4b
5y ago
And x86, Arm, PIC, Xtensa,... and everything else.
506.
▲
by
nec4b
5y ago
Maybe I would learn something if you could actually provide some evidence besides being needlessly patronizing. Who are those people? What do their feelings have to do with a fact that there exist a set of traits which which could be used t
507.
▲
by
nec4b
5y ago
I'm not calling anyone anything. The GP of this post claims to be of Hispanic race. You claim he is not entitled to call himself that. Are you the the arbiter of what he is allowed to call him self? I'm must admit I do find it iro
508.
▲
by
nec4b
5y ago
I'm sorry but that is a really weird argument. Who are those groups of people who want us to pretend there are no similarities or differences between them and other groups of people?
509.
▲
by
nec4b
5y ago
And why can't an arbitrary set of genetic and cultural traits have a name? Everything else in this universe can be broken down to an arbitrary set of something. Why for e.g. call somebody an American when it's only a person living
510.
▲
by
nec4b
5y ago
Why do you need a name, a surname, a name for the place you come from,...? Because giving something a name helps us differentiate between things.
More ›