BBC BASIC for Windows
General >> Suggestion Box >> Accelerator http://bb4w.conforums.com/index.cgi?board=suggestions&action=display&num=1434015017 Accelerator
Post by dfeugey on Jun 11th, 2015, 09:30am
Hi.
ASM is good, but complex too. My suggestion is a small language (no DLL/SYS/FUNC/PROC calls, no graphics/sound operations, fixed set of variables) compiled on the fly, for heavy computation needs.
First benefit: usable by everyone. Second benefit: little interaction with Basic code, so possibility to use threads (multicore!). Third benefit: it could be cloned in BBC Basic VI (RISC OS). Re: Accelerator
Post by rtr2 on Jun 11th, 2015, 10:39am
My suggestion is a small language (no DLL/SYS/FUNC/PROC calls, no graphics/sound operations, fixed set of variables) compiled on the fly, for heavy computation needs.
There is the FORTHLIB library, which allows you to code time-critical parts of your program in Forth. Not as fast as fully-compiled code, but faster than interpreted BASIC and a well-known well-documented language. This meets quite a lot of your 'wishlist' I think.
Richard. Re: Accelerator
Post by dfeugey on Jun 11th, 2015, 10:52am