Re: ///Wannabee Rants



//\\\\o//\\\\annabee <Free" wrote:

....
We have found out that the standardlibrary is written in HLA.

Astonishing discovery! :)

HLA is not an assembler, is more like a scriptengine on top of FASM.

There's some truth to this. A hell of a script engine, IMO, and it really shouldn't be that hard to make it actually emit object code, but its current implementation is a "mere text converter" - or perhaps not so "mere".

This is much worse then C.

This does *not* necessarily follow! It *might* be true, but you've made it clear that you don't actually know. (sounds almost like "religion"!) If you're interested in comparing C code with HLA code (and RosAsm code, if you like), that might make an interesting discussion.

Take "itoa"... C implementations I've seen use the classic divide-by-ten method. So does the current version of the HLA library. So do I. (what method do you/RosAsm use?) But Randy has determined - by testing, and asking other people to test the code - that there are substantially faster ways to do it. Terje's "multiply by the reciprocal" method won out - just barely on some hardware - over a repeated subtraction method! (if occurs to me that this probably has applications besides itoa!!!) There's no doubt in my mind that the improved method will be in a version of the library soon. Even if Randy doesn't do it, somebody else will. The code's available - I could replace existing versions in my own private copy of the HLA library - and call it from Nasm, if I wanted to. (I don't - I don't "like" libraries - it's on my "long term todo list" to implement it in Nasmese...)

So even if the HLA library is "worse than C" right now (to be determined), it may not always be so.

Case closed.

Or perhaps "Mind closed." The hippies used to say "a closed ming is a wonderful thing to waste!" Wanna get wasted? Or are you afraid of "losing your religion"? :)

Best,
Frank
.



Relevant Pages

  • Re: The Lib debate
    ... If it were in RosAsm, ... > needs to do is emit object code in a format acceptable to a linker. ... without further support from the assembler. ... Randy Hyde ...
    (alt.lang.asm)
  • Re: How I am See it (Boot Order)
    ... Randy, IMO, has been edited to be leaving tonight. ... My predictions is ...
    (alt.tv.survivor)
  • Re: How I am See it (Boot Order)
    ... Randy, IMO, has been edited to be leaving tonight. ... My predictions is ...
    (alt.tv.survivor)