jaten
Re:Zygomys: Embedded Scripting Language for Go
on Thursday June 29, 2023 @06:45AM (#36518732)
Zygo does have infix available in addition to traditional lisp parentheses. Just put the math (or whatever) inside curly braces. I much prefer math in infix, so I put in a Pratt parser for that.
Re:New study shows highly creative people’s brains work differently fr...
on Tuesday July 05, 2022 @12:56AM (#31984457)
Wow. I have the exact opposite experience with TDD. I use TDD to set a specific goal, and to have the computer tell me almost instantly when I've reached it. Then I can unleash creativity in trying implementations, and know instantly if they've worked. Occassionally I'll get a lucky guess in that works. Such a great feeling knowing immediately that my intuition was right.
Re:That wild Ask a Manager story
on Monday February 14, 2022 @10:00PM (#30342149)
Apparently Netflix's CEO designed the processes in his company to avoid just this trap.
Re:In the Strange Land of Robert Heinlein (1984)
on Wednesday July 28, 2021 @05:53PM (#27990235)
Indeed. Although he would have abhorred their anti-science tactics. And he wrote extensively about the dangers of religious idiocy.
Re:Why Discord is switching from Go to Rust
on Tuesday February 04, 2020 @02:52PM (#22240167)
just use an off heap hash table. simple.
https://github.com/glycerine/offheap
Also, as others have said, lots of big GC improvements were ignored by insisting on go1.9.2 and not the latest.
Re:YAML: Probably not so great after all
on Monday August 19, 2019 @11:54PM (#20743704)
Google uses a subset of python called Starlark for build configuring (available in Go and I think Java). Nice if you want to be able to compute things during config.
Re:YAML: Probably not so great after all
on Sunday August 18, 2019 @11:20PM (#20734624)
S-expressions rule. I use them for configuration everywhere.
I wrote a lovely library for parsing them in Go (along with a full lisp interpreter if you like) https://github.com/glycerine/zygomys
Provides comments, multiline strings, and automatic translation into Go structs using reflection.
Re:Urn: A Lisp implementation for Lua
on Monday March 12, 2018 @04:43PM (#16571416)
Lua is fantastic for implementing languages. I did an implementation of Golang in it (https://github.com/gijit/gi). With metatables one can implement any kind of object/inheritance/interface scheme. Full builtin asymmetric coroutines, and a massively performant, ABI compatible backend (a just-in-time trace compiler) in LuaJIT are amazing tools.
Amazing golang repl, 50% done. using luajit and gopherjs. come and contribute
ZebraPack: serialization in Go, like Gobs version 2
Re:Zygomys – An embedded scripting language for Go
on Thursday December 15, 2016 @08:37AM (#13184458)
The infix is optional, but I do find it nice for interaction.
Re:Zygomys – An embedded scripting language for Go
on Thursday December 15, 2016 @08:28AM (#13184408)
Thank you. I tend to do interactive mathy things, and find the infix being the default at the repl cuts down on keystrokes and speeds up the interaction. Anything within {} curly braces is treated as infix, and infix is the starting mode at the repl. You can freely mix (prefix) and {infix} as you wish. For longer math expressions this does tend to help readability.