Earlier quoted context omitted.
Engineers do design, implementation is the job of the technician or machinist or somebody like that. If the engineer’s code ends up shipped to customers, something very strange has happened.
the source code is the design; it plays the same role that schematics or mechanical drawings play for products made by electronic technicians or machinists. the difference is that compilers take the place of technicians or machinists, and that confuses people, often for political/ideological reasons see jack w. reeves's 'code as design' series, beginning with 'what is software design?' from 01992, for a fuller explan…
AsmBB – a lightweight web forum engine written in assembly language
121–130 of 131 posts
Re: AsmBB – a lightweight web forum engine written in assembly language
#122Re: AsmBB – a lightweight web forum engine written in assembly language
#123Earlier quoted context omitted.
That's overly simplistic and untrue. If you write a C# / .Net program you're not "just calling C code", you're not calling C at all.
But the CLR is written c, c++ and assembly which is what runs c#. Also the syscalls that run down the chain are also written in c, c++ etc.
The C# code you write (and majority of the your code's dependencies) are JIT compiled to native machine code (or more recently there are AOT compilation options).
Re: AsmBB – a lightweight web forum engine written in assembly language
#124Earlier quoted context omitted.
the source code is the design; it plays the same role that schematics or mechanical drawings play for products made by electronic technicians or machinists. the difference is that compilers take the place of technicians or machinists, and that confuses people, often for political/ideological reasons see jack w. reeves's 'code as design' series, beginning with 'what is software design?' from 01992, for a fuller explan…
That was a great read. Amazing how it can still be quoted to explain software design 32 years later.
Re: AsmBB – a lightweight web forum engine written in assembly language
#125Re: AsmBB – a lightweight web forum engine written in assembly language
#126Earlier quoted context omitted.
I disagree; dependencies are more of a liability than anything else.
Do you really want to implement http, ssl and tls; all by your self, what about security hash algorithms? Re inventing the wheel means you also get to go through all the bugs and s purity issue that these open source libraries went through. This is a type of opinion I would expect some one with no understanding about security saying.
HTTP is fairly trivial as well; if you're afraid of little things like that, you'll never deliver best-in-class software.
Re: AsmBB – a lightweight web forum engine written in assembly language
#127Earlier quoted context omitted.
> C is generally first compiled into assembly anyways. I don't think that's right. C is compiled into an intermediate representation first. It's true that you can ask GCC etc. to generate assembly output, but it's not the default.
> I don't think that's right. C is compiled into an intermediate representation first. It's true that you can ask GCC etc. to generate assembly output, but it's not the default. Just because there's an IR within the compiler doesn't mean there's no "assemble" stage. What do you think the "-pipe" flag to gcc is for? It pipes the compiler output into the assembler, rather than using a temporary .s file. gcc has four ma…
Re: AsmBB – a lightweight web forum engine written in assembly language
#128Earlier quoted context omitted.
Whos' Chuck Norris ?
That answered my question. Chuck Norris is a martial artist that had an acting career. He got a second wind of fame when he became a meme… Chuck Norris Facts. https://en.wikipedia.org/wiki/Chuck_Norris_facts
Re: AsmBB – a lightweight web forum engine written in assembly language
#129Next: Unikernel
Yes please! Still waiting for unikernels to actually become a thing. Looks so promising, but Unikraft has yet to launch their cloud offering and NanoVM is 7$ per unikernel, which, compared to an always on shared Hetzner vCPU for ~4$ (knowing those two are not exactly the same) is kind of pricey... Would expect them to be cheaper or at least cost the same
Re: AsmBB – a lightweight web forum engine written in assembly language
#130Earlier quoted context omitted.
Yes please! Still waiting for unikernels to actually become a thing. Looks so promising, but Unikraft has yet to launch their cloud offering and NanoVM is 7$ per unikernel, which, compared to an always on shared Hetzner vCPU for ~4$ (knowing those two are not exactly the same) is kind of pricey... Would expect them to be cheaper or at least cost the same
Oh, I had the impression NanOS was free.