Re: ///Wannabee Rants
- From: Frank Kotler <fbkotler@xxxxxxxxxxx>
- Date: Sat, 06 Jan 2007 05:45:28 GMT
//\\\\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
.
- Follow-Ups:
- Re: ///Wannabee Rants
- From: rhyde@xxxxxxxxxx
- Re: ///Wannabee Rants
- From: //\\\\\\\\o//\\\\\\\\annabee <Free\"
- Re: ///Wannabee Rants
- From: Betov
- Re: ///Wannabee Rants
- References:
- Re: C# programmer wants to learn assembly?? plz help
- From: Herbert Kleebauer
- Re: C# programmer wants to learn assembly?? plz help
- From: Betov
- Re: C# programmer wants to learn assembly?? plz help
- From: rhyde@xxxxxxxxxx
- Re: C# programmer wants to learn assembly?? plz help
- From: Betov
- Re: C# programmer wants to learn assembly?? plz help
- From: Frank Kotler
- Re: C# programmer wants to learn assembly?? plz help
- From: rhyde@xxxxxxxxxx
- Re: C# programmer wants to learn assembly?? plz help
- From: rhyde@xxxxxxxxxx
- Re: C# programmer wants to learn assembly?? plz help
- From: Frank Kotler
- Download counts of assemblers.
- From: rhyde@xxxxxxxxxx
- Re: Download counts of assemblers.
- From: Herbert Kleebauer
- Re: Download counts of assemblers.
- From: rhyde@xxxxxxxxxx
- Re: Download counts of assemblers.
- From: David Jones
- Re: Download counts of assemblers.
- From: //\\\\\\\\o//\\\\\\\\annabee <Free\"
- Re: Download counts of assemblers.
- From: Frank Kotler
- Re: Download counts of assemblers.
- From: //\\\\\\\\o//\\\\\\\\annabee <Free\"
- ///Wannabee Rants
- From: rhyde@xxxxxxxxxx
- Re: ///Wannabee Rants
- From: //\\\\\\\\o//\\\\\\\\annabee <Free\"
- Re: C# programmer wants to learn assembly?? plz help
- Prev by Date: Re: ///Wannabee Rants
- Next by Date: Re: Download counts of assemblers.
- Previous by thread: Re: ///Wannabee Rants
- Next by thread: Re: ///Wannabee Rants
- Index(es):
Relevant Pages
|