Re:Factor programming language (modern Forth)
by slava_pestov on Saturday August 21, 2010 @09:37PM
(#1624018)
Unfortunately enough people have older CPUs that we still have to support x87 code generation; its just not used in the binary packages, you have to build the source to get it.
[ Parent
| on HN ]
Re:Factor programming language (modern Forth)
by jacquesm on Sunday August 22, 2010 @06:53AM
(#1624489)
Why not do auto-detection?
Re:Factor programming language (modern Forth)
by slava_pestov on Sunday August 22, 2010 @03:03PM
(#1625046)
Factor uses ahead of time compilation. When you load a source file at the REPL, all definitions in it are compiled immediately, and compiled code is saved in the image. So when you download a pre-built binary package, all the code has already been compiled so auto-detection is not an option.
There are pros and cons to both compiling at load time or run time; one of the disadvantages of the former is less flexibility when it comes to using CPU-specific features.