5 ms·
I just stumbled across this Google Tech Talk on [factor][0] last night! It absolutely blew my mind. The engineering looks to be top notch, and the video is 9 ye
by xelxebar 8y ago
I just stumbled across this Google Tech Talk on [factor][0] last night! It absolutely blew my mind. The engineering looks to be top notch, and the video is 9 years old to boot!
https://www.youtube.com/watch?v=f_0QlhYlS8g https://www.youtube.com/watch?v=f_0QlhYlS8g
Anyway, really want to give Factor a try for some personal projects. Would love to hear anecdotes from people who futz with this stuff.
[0]:https://factorcode.org https://factorcode.org
- doublec 8y agoI used Factor a lot in the past. It's a great language. Some blog posts of mine on the subject: https://bluishcoder.co.nz/tags/factor/ https://bluishcoder.co.nz/tags/factor/ And here's a quick screencast I put together that shows using the Factor GUI to drill down objects and source using the Gopher client as an example: https://www.youtube.com/watch?v=sozwQ7QmOhs https://www.youtube.com/watch?v=sozwQ7QmOhs
- arethuza 8y agoI worked on a project in the early 90's that was written mostly in PostScript (NeWS) and Common Lisp - two languages that have rather more in common than you might think! Edit: Wasn't so much just PostScript environment but the NeWS/HyperNeWS environment that made that graphical programming rather good fun...
- macintux 8y agoPeople have described Forth as Lisp without the parentheses. Definitely some interesting parallels.
- arethuza 8y agoI toy with the idea occasionally of writing a Lispish language (probably a whitespace lisp) that transforms itself down to a Forth/PostScript style engine for execution - one of many things on my ToDo list ;-)
- kazinator 8y agoStack-based byte code machines for Lisps are not uncommon. Emacs Lisp has one, CLISP too, I think. It keeps the instructions small, since operand references are implicit.
- arethuza 8y agoI was more thinking about a runtime conversion from a Lisp style AST to RPN primitives rather than a more traditional compiling stuff down to a separate VM - but clearly not something I've thought through in that much detail!
- sctb 8y agoYou can have both! https://github.com/sctb/woe/blob/master/boot.w https://github.com/sctb/woe/blob/master/boot.w
- kazinator 8y agoThose people were horribly misinformed.
- macintux 8y agoSure, they're very different languages, but they nonetheless have a lot in common. http://wiki.c2.com/?ForthVsLisp http://wiki.c2.com/?ForthVsLisp is quite an interesting read.
- exikyut 8y agoInteresting. What was the project about?
- arethuza 8y agoIt was an EU ESPRIT 2 project to develop "Intelligent Training Systems" for complex industrial plants. I worked in an academic partner - the team I worked in was mostly control engineers and mathematicians and I was the lone CS guy who got to actually build stuff.
- jonenst 8y agoI had fun participating in the google codejam using factor, and in 2012 I wasn't the only one ! https://www.go-hero.net/jam/12/languages/Factor https://www.go-hero.net/jam/12/languages/Factor Too bad that google codejam limited the available languages starting from 2018.. Factor is a very impressive engineering accomplishment, the standard library has so many useful algorithms and data structures implemented, and almost all of it with very clean APIs and documentation.
- exikyut 8y agoThat website is very broken now sadly, and appears to only have records going up to 2017. I can't find 2018.
- jhoechtl 8y agoInteresting fact: The day Slava Pestov gave his Techtalk, the next door Golang was presented. History might have taken another turn for Factor if Golang didn't slurped the audience on that day.
- slavapestov 8y agoHah! I don't think a stack-based language would have taken off regardless of who was in the room that day, to be honest. It all worked out well anyway, I ended up joining Google a couple of years after that talk, and now I'm at Apple working on Swift. It's not as elegant as Factor but of course has a much bigger user base.