Better HN
topnewbestaskshowjobs
Log inSign up

jaten

8 karma · joined Jan 15, 2016 (10y ago) · 14 submissions

Submissions

comment 3y ago · link · parent

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.

comment 4y ago · link · parent

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.

comment 4y ago · link · parent

Apparently Netflix's CEO designed the processes in his company to avoid just this trap.

comment 5y ago · link · parent

Indeed. Although he would have abhorred their anti-science tactics. And he wrote extensively about the dangers of religious idiocy.

comment 6y ago · link · parent

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.

comment 7y ago · link · parent

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.

https://github.com/google/starlark-go

comment 7y ago · link · parent

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.

8.

Gemacs: a lightweight, highly portable emacs, in Go(github.com ↗)

2 points · by jaten · 8y ago · discuss

comment 8y ago · link · parent

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.

10.

Amazing golang repl, 50% done. using luajit and gopherjs. come and contribute(github.com ↗)

2 points · by jaten · 8y ago · discuss

11.

ZebraPack: serialization in Go, like Gobs version 2(github.com ↗)

1 points · by jaten · 9y ago · discuss

comment 9y ago · link · parent

The infix is optional, but I do find it nice for interaction.

comment 9y ago · link · parent

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.

14.

Zygomys an embedded Lisp for Golang(github.com ↗)

3 points · by jaten · 10y ago · discuss