Hacker Timesnew | past | comments | ask | show | jobs | submit | quasilyte's commentslogin

Does anyone know what data structure is that? I never seen anything like it, so I'm interested in learning how to call it. :)


Isn't it "just" a sequence counter for detecting stale data? Interesting that you got such a huge speedup by reading from fewer memory locations!


Congrats with v1.0! I remember the times when it was called MangoDB. :D


Yeah, those were easier times for sure :)


You might be interested in https://github.com/mvdan/gogrep/issues/32#issuecomment-56866...

When gogrep becomes more usable as a library, it would be easier to write such Go programs easier.

As for the alternative formats, I experimented with JSON, TOML and some custom format that is even terser. It wasn't an easy choice, but I'm pretty comfortable with the result. That being said, there could be a several input formats in the future.


Mostly because plugins support in Go is not ideal and it still requires compilation (in plugin mode).

I believe Daniel Martí plans to make gogrep usable as a library, so it will be possible to write such Go programs in the future.


Features:

* Custom linting rules without re-compilation.

* Diagnostics are written in a declarative way.

* Quickfix action support.

* Powerful match filtering features, like expression type pattern matching.

Uses gogrep for AST pattern matching.


Planning to use this secret weapon on the next Go contributors workshop in Russia. :)


I've contributed https://go-review.googlesource.com/c/go/+/117615 thanks to appendCombine check. :3


I see three main approaches for the tasks projects like ecaml and goism try to solve:

1. Use a plugin system (ecaml)

2. Transcompile to a target language (gosim and emscripten-like platforms)

3. Embed another VM inside Emacs and call its eval

There are many differences between these approaches and I am not sure one of them is objectively better as a general solution.

For the end users, all of these approaches can deliver good level of integration (they require different sets of tricks to achieve that).


I love Emacs Lisp.

Emacs has really good support for it which continues to improve over time.

But.. I love more than one language (and more than one Lisp for sure). Will you try to persuade me that I am wrong in that regard?


Emacs only having elispallows me to fix the third party code that I have in my config, and simplifies all the things. Thoemacs already has C too now, there is module support. I guess it could be possible to use Rust via that interface too, and maybe go. But better keep these to a minimum because elisp is one of the things that makes emacs great


You can call map/reduce/filter from Go code: `xs := lisp.Mapcar(f, ys)`.

Mapconcat is already used inside runtime implementation: https://github.com/Quasilyte/goism/blob/master/src/emacs/rt/... (Print and Println functions).


Why did you get downvoted for this?


Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: