Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
zanellia
searching Neon…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
9 ms
·
1.
▲
by
zanellia
11mo ago
I have the feeling that social media adoption can be very volatile - that makes me hope that something decentralized and healthier could take over soon.
2.
▲
by
zanellia
11mo ago
Maybe one catch on Flashes: it's not open-source, is it?
3.
▲
by
zanellia
11mo ago
Regarding Bluesky-based Flashes, there is an ongoing GoFundMe campaign, but it's been there for 7 months and hasn't reached its 40k goal. Regardless of the funding goal, aren't there enough people interested in this to make i
4.
▲
by
zanellia
11mo ago
I think that's indeed one of the main problems, although I think people don't care because they don't understand what are the risks that directly concern them. A valid question would be at what point (if ever, and I want to b
5.
▲
by
zanellia
11mo ago
I very much agree. I think that one of the fundamental things that would make it easier for a healthier way forward would be the ability to more easily move from one platform to the other, hence reducing inertia-induced monopoly. Bluesky&#x
6.
▲
by
zanellia
11mo ago
It’s worrying how much control platforms like Meta have over what people see. Their moderation and ranking systems often act as invisible filters—shadowbanning, or quietly removing reach without transparency. This kind of centralization mak
7.
▲
Ask HN: How long until solid decentralized alternative to Instagram?
5 points
by
zanellia
11mo ago
|
10 comments
8.
▲
by
zanellia
5y ago
Pretty cool! nimblas in particular is what I was looking for. Will move to matrix if I have any other question ;)
9.
▲
by
zanellia
5y ago
Thanks for the answer! What I would find very useful is an API that allows one to call directly BLAS/LAPACK routines. Is that possible in SciNim? If not, how difficult would it be to write the necessary wrappers? I had a quick look at
10.
▲
by
zanellia
5y ago
Pretty cool. Would love to use Nim for scientific computing, but I am not sure how mature are, e.g., Neo ( https://github.com/andreaferretti/neo ) and alike. Any positive feedback?
11.
▲
by
zanellia
5y ago
hmm I tend to be a bit skeptical about "ipse dixit"-like statements, but I think I got your point about compilers/transpilers :)
12.
▲
by
zanellia
5y ago
Pretty cool! How do you manage multiple target languages with a single AST parser? Do you use an intermediate AST?
13.
▲
by
zanellia
5y ago
Interfacing existing C code would be an important thing to be addressed. It is currently a missing feature, unfortunately.
14.
▲
by
zanellia
5y ago
I agree that error handling is one of the main things to be improved. The problem is that in some cases the AST walker ends up in unhandled states and prometeo throws a generic exception with a line number only. Are you looking at something
15.
▲
by
zanellia
5y ago
Anyway, the main point is to give it a name that is as informative as possible. If I read "transpiler" I immediately make the connection with the fact that it translates a high-level language into another high-level language (whic
16.
▲
by
zanellia
5y ago
If you have a better reference I'd be happy to change my mind.
17.
▲
by
zanellia
5y ago
Pretty cool! I should check how it works in more detail.
18.
▲
by
zanellia
5y ago
No, that's not the timescale of interest, I would say. However, if the big chunk of computations is delegated to HPC libraries I would say that NumPy could be rather competitive there (although still not easy to embed). If instead you
19.
▲
by
zanellia
5y ago
Right, MATLAB Coder is a very related tool.
20.
▲
by
zanellia
5y ago
I did look into Nim, but, given Python's maturity/popularity, I decided to stick with it as host language for the DSL.
21.
▲
by
zanellia
5y ago
Good point, it should be easy to add Julia to the Fibonacci benchmark. Here is the Python code https://github.com/zanellia/prometeo/blob/master/examples/fi...
22.
▲
by
zanellia
5y ago
I though about using Nim as a host language for the DSL for a while, but then decided to rely on Python simply because it is more mature (and I had already partially figured out how to manipulate Python ASTs to generate C code).
23.
▲
by
zanellia
5y ago
It generates a Python extension, doesn't it? Would not know how to run it outside of Python.
24.
▲
by
zanellia
5y ago
Right, for sure I would not need to re-invent the machinery to translate a class into a glorified C struct. The whole thing started with C in mind for portability arguments, but it might be a good idea to keep an eye on C++ as an option.
25.
▲
by
zanellia
5y ago
Intrinsics (or directly assembly) are used in BLASFEO ( https://github.com/giaf/blasfeo ) the linear package used by prometeo. It would be cool to generate assembly directly for a few things, but that would require quite
26.
▲
by
zanellia
5y ago
It's not so easy deploy an algorithm written in Julia on an embedded platform though, is it?
27.
▲
by
zanellia
5y ago
Thanks for the question! My background is in numerical optimization for optimal control. Projects like this https://github.com/acados/acados motivated the development of prometeo. It's mostly about solving optimiz
28.
▲
by
zanellia
5y ago
Not sure what a "superoptimizer" would look like in this context. For a reference, I know for sure that this https://github.com/giaf/blasfeo (which beats Intel MKL) was coded entirely by hand.
29.
▲
by
zanellia
5y ago
hmm not sure, the compiled LLVM code would still depend on the runtime library?
30.
▲
by
zanellia
5y ago
if we are arguing that implementing a numerical algorithm in C is as easy as implementing it in Python - I would disagree. But maybe I am just wrong :)
More ›