Path: csiph.com!v102.xanadu-bbs.net!xanadu-bbs.net!feeder.erje.net!eu.feeder.erje.net!news.albasani.net!.POSTED!not-for-mail From: Melzzzzz Newsgroups: comp.lang.forth Subject: Re: FORTH on the Advanced Placement Computer Science ! Date: Thu, 25 Dec 2014 23:34:09 +0100 Organization: albasani.net Lines: 46 Message-ID: <20141225233409.2bec4fb5@maxa-pc> References: <7x4msmqry6.fsf@ruckus.brouhaha.com> <7xa92ew16a.fsf@ruckus.brouhaha.com> <7x8uhy0zon.fsf@ruckus.brouhaha.com> <7x4msm0wf9.fsf@ruckus.brouhaha.com> <7xlhlwwha1.fsf@ruckus.brouhaha.com> <7xvbl0z0jl.fsf@ruckus.brouhaha.com> <7xa92bbpdo.fsf@ruckus.brouhaha.com> Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-Trace: news.albasani.net X/l4ZNcHETtHOjG2aFps52os/tMj3l85VzW5oXQ/QSRUY9z1/5o1giZLo/OcWWdJFM3f1AzuOd46O1F8+mo37g== NNTP-Posting-Date: Thu, 25 Dec 2014 22:34:10 +0000 (UTC) Injection-Info: news.albasani.net; logging-data="iG0iShstSnAD1CRp4Bpv6v8O5hLDSZLCG2LWMZHJ2yYH10WWe+AAfnQQYi0BMcBOwp7rQUpmg1vnpOCsU8CtjrJ+Urxk3/EEnTvCFB/nEmpY/JxG8IGmbDdlV+u9IehL"; mail-complaints-to="abuse@albasani.net" X-Newsreader: Claws Mail 3.11.0 (GTK+ 2.24.25; x86_64-unknown-linux-gnu) Cancel-Lock: sha1:5mGa3E9U1F0jiqP+D7/znV+FYQM= Xref: csiph.com comp.lang.forth:35253 On Thu, 25 Dec 2014 21:15:20 +0000 (UTC) "WJ" wrote: > Paul Rubin wrote: > > > mix writes: > > > http://en.m.wikipedia.org/wiki/KolibriOS > > > http://en.m.wikipedia.org/wiki/MenuetOS > > > > > > Those are just most known ones, because they are free source > > > projects. Are they big enough for you? > > > > They are nontrivial so I'll accept them without being finicky about > > the size requirement. According to those articles, KolibriOS is > > apparently a fork of MenuetOS so I won't count it as a separaate > > program. MenuetOS was first released on May 16, 2000, so it meets > > the 21st century first release criterion, though just barely. They > > do seem to be examples of writing in asm for its own sake, but as > > the saying goes, coding in assembly language is good for the soul. > > Thanks! > > One assembly language program produced in this century, versus > hundreds of C and C++ programs. Don;t forget that writing C or C++ sooner or later will require use of assembler. > > Why did so many programmers choose C insted of assembly language? Because C is portable assembler. Take for example Go language. I have seen people write assembler files in combination with high level constructs. Why? Because Go has different calling convention (calling C functions has hi cost), than common C abi and has built in assembler that does not have such performance costs. So you will see assembler files for three architectures i386 , amd64 and ARM ;) > Were they trying to make their programming tasks harder? > No, they knew that it would be easier to program in a higher-level > language. Writing things in assembler requires mental discipline, which is good exercise for making less bugs ;)