Path: csiph.com!eternal-september.org!feeder.eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail From: Paul Rubin Newsgroups: comp.lang.forth Subject: Re: High level language for writing Forth Date: Wed, 19 Apr 2017 21:35:48 -0700 Organization: A noiseless patient Spider Lines: 29 Message-ID: <8760hzelwb.fsf@nightsong.com> References: <87efwneria.fsf@nightsong.com> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: mx02.eternal-september.org; posting-host="efdb76e8249dce14a596c997ec8f2e8c"; logging-data="21022"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX19zXMDBwbdDEHe9TzFBT6jA" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.3 (gnu/linux) Cancel-Lock: sha1:nuvYhgxab1LSH85/kAyIwAeWfEs= sha1:pf4oB9hSASPnYlG0jlMY6LkxxMg= Xref: csiph.com comp.lang.forth:57630 Cecil Bayona writes: > It allowed them to simplify their code after moving away from C, a big > enhancement of Go is handling multi-processes, cores, and CPUs which > C does not have a simple solution but Go has it built into the > language. Goroutines are basically coroutines or lightweight threads: maybe I'm mistaken but I don't think they get dispatched to other cores. There are libraries for C that can do stuff like that, though Go makes it easier. > Python ... to write a Forth VM in it would make the Forth compiler > way too slow. I thought the idea was to write the VM (a simple program, look at the manu implementations of the Retroforth Ngaro VM) in a low level language like C, but you wanted to use something higher level to write the compiler. Anyway, even in Python I bet the Forth VM would run much faster on a modern PC than carefully tuned native Forth compilers did on 1980s computers. > I will still want to learn Go as I will use it in many other projects, Fair enough. > I bought a Hobby copy of 8th... it doesn't have support for MySQL Hmm, maybe you could connect it up to an external MySQL client or library.