Author |
Topic: Accelerator (Read 801 times) |
|
dfeugey
Guest
|
 |
Accelerator
« Thread started 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).
|
|
Logged
|
|
|
|
rtr2
Guest
|
 |
Re: Accelerator
« Reply #1 on: Jun 11th, 2015, 10:39am » |
|
on Jun 11th, 2015, 09:30am, dfeugey wrote: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.
|
|
Logged
|
|
|
|
dfeugey
Guest
|
 |
Re: Accelerator
« Reply #2 on: Jun 11th, 2015, 10:52am » |
|
on Jun 11th, 2015, 10:39am, g4bau wrote: Yep, I saw it 
I was a big user of Forth, but - IMHO - it's a bit complex for first time users.
|
« Last Edit: Jun 11th, 2015, 10:52am by dfeugey » |
Logged
|
|
|
|
|