News for hackers. Stuff that matters.
Re:Forth: The Hacker’s Language by pjmlp on Saturday January 28, 2017 @09:58AM (#13506550)
> Forth is the only one in which this is possible. Every other example I've seen always uses C for "low-level" access or a libraries. If you need to do that, then you won't win over embedded devs like me.

Not really.

https://www.mikroe.com/mikrobasic/

https://www.mikroe.com/mikropascal/

http://www.astrobe.com/default.htm

http://www.adacore.com/gnatpro/embedded

http://www.ptc.com/developer-tools/apexada

http://www.ghs.com/products/ada_optimizing_compilers.html

Zero lines of C.

Re:Forth: The Hacker’s Language by vidarh on Saturday January 28, 2017 @10:04AM (#13506573)
AmiBlitz (the Amiga Blitz Basic version) is another - you can write M68k assembler anywhere in a program, as they're legal AmiBlitz syntax.

http://www.amiblitz.de/

Re:Forth: The Hacker’s Language by qwertyuiop924 on Saturday January 28, 2017 @10:21AM (#13506650)
Is there any reason he would have heard of those? They're all pretty fringe, arguably moreso than Forth, for some of them.

Some of these do look neat: I've had an interest in both Ada and Oberon, although I haven't been able to get over the verbosity and unpleasant syntax of either (it's not COBOL, or anything, but it's not nice).

OTOH, I am immediately suspicious of any product that claims it's professional and also has BASIC in the name...

Re:Forth: The Hacker’s Language by pjmlp on Saturday January 28, 2017 @10:44AM (#13506769)
> OTOH, I am immediately suspicious of any product that claims it's professional and also has BASIC in the name...

For many years the Elektor magazine and a few other competing ones, had the listings of electronic stuff done in Assembly, Basic and Turbo Pascal.

Before Raspberry PI was a thing, many developers were using Basic STAMP.

https://www.parallax.com/catalog/microcontrollers/basic-stam...

Re:Forth: The Hacker’s Language by qwertyuiop924 on Saturday January 28, 2017 @11:51AM (#13507305)
I'm aware, but... urgh. Yuck. I don't think BASIC causes brain damage, but I also don't think it's a very nice thing to work in.

Although I suppose it does depend on the dialect, to an extent...

Re:Forth: The Hacker’s Language by jnbiche on Saturday January 28, 2017 @10:34AM (#13506716)
Ada is not fringe. It's used by many large companies, although less and less these for new projects these days. There are some huge Ada codebases being maintained in industry, particularly in the aviation industry.
Re:Forth: The Hacker’s Language by qwertyuiop924 on Saturday January 28, 2017 @11:49AM (#13507293)
The same can be said of Lisp and Forth. Would you call them fringe?
Re:Forth: The Hacker’s Language by pjmlp on Saturday January 28, 2017 @10:47AM (#13506787)
Actually, I might get the wrong picture but from FOSDEM talks and high integrity conferences programms, I get the opposite view.
Re:Forth: The Hacker’s Language by shortsightedsid on Saturday January 28, 2017 @01:11PM (#13507792)
You are right. I completely forgot about ADA and representative clauses. I remember reading that representative clauses mapping to register fields. And to be fair, basic and pascal also can be used for bare metal stuff.
Re:Forth: The Hacker’s Language by kazinator on Saturday January 28, 2017 @01:19PM (#13507827)
Ada isn't a dynamic language, so it doesn't really apply here; you don't get to use it in the ways like Forth; like having a boot ROM with an Ada REPL (laugh).

Of course there are other systems programming "monolithic executable" programming languages that allow straightforward access to memory mapped hardware registers.

Re:Forth: The Hacker’s Language by pjmlp on Saturday January 28, 2017 @01:41PM (#13507948)
Static languages can have REPLs.
Re:Forth: The Hacker’s Language by groovy2shoes on Saturday February 04, 2017 @08:13PM (#13570157)
They can, but I'm not even sure you'd be able to fit all of Ada's reserved words in a typical boot ROM ;)
Re:Forth: The Hacker’s Language by vram22 on Saturday January 28, 2017 @12:53PM (#13507690)
Some years ago when Java was relatively new, I had come across this company Esmertec, which was making Java toolchains for embedded devices. Site seems to be still there, not sure about the company:

www.esmertec.com