258 karma · joined January 21, 2020
I agree, to be clear — I use many of said abstractions, and they’re often quite bloated and everything else this person is complaining about. This just doesn’t strike me as someone who’s asking for insight; it’s just complaining, and it’s fine to point that out.
Here's code I ran, with results:
julia> using GalaxyBrain, BenchmarkTools
julia> bench = bf"""
>++[<+++++++++++++>-]<[[>+>+<<-]>[<+>-]++++++++
[>++++++++<-]>.[-]<<>++++++++++[>++++++++++[>++
++++++++[>++++++++++[>++++++++++[>++++++++++[>+
+++++++++[-]<-]<-]<-]<-]<-]<-]<-]++++++++++."""
julia> @benchmark $(bench)(; output=devnull, memory_size=100)
BenchmarkTools.Trial:
memory estimate: 352 bytes
allocs estimate: 3
--------------
minimum time: 96.706 ms (0.00% GC)
median time: 97.633 ms (0.00% GC)
mean time: 98.347 ms (0.00% GC)
maximum time: 102.814 ms (0.00% GC)
--------------
samples: 51
evals/sample: 1
julia> mandel = bf"(not printing for brevity's sake)"
julia> @benchmark $(mandel)(; output=devnull, memory_size=500)
BenchmarkTools.Trial:
memory estimate: 784 bytes
allocs estimate: 3
--------------
minimum time: 1.006 s (0.00% GC)
median time: 1.009 s (0.00% GC)
mean time: 1.011 s (0.00% GC)
maximum time: 1.022 s (0.00% GC)
--------------
samples: 5 evals/sample: 1
Note that, conservatively, GalaxyBrain is about 8 times faster than C++ on "bench.b" and 13 times faster than C on "mandel.b," with each being the fastest language for the respective benchmarks. In addition, it allocates almost no memory relative to the other programs, which measure memory usage in MiB.You could argue that I might see similar speedup for other languages on my machine, assuming I have a spectacularly fast setup, but this person ran their benchmarks on a tenth generation Intel CPU, whereas mine's an eighth generation Intel CPU:
julia> versioninfo()
Julia Version 1.5.1
Commit 697e782ab8 (2020-08-25 20:08 UTC)
Platform Info: OS: Linux (x86_64-pc-linux-gnu)
CPU: Intel(R) Core(TM) i7-8700K CPU @ 3.70GHz
WORD_SIZE: 64
LIBM: libopenlibm LLVM: libLLVM-9.0.1 (ORCJIT, skylake)
This package is 70 lines of Julia code. You can check it out for yourself here: https://github.com/OTDE/GalaxyBrain.jlI talk about this package in-depth here: https://medium.com/@otde/six-months-with-julia-parse-time-tr...
Is it a jealousy at not finding such a passion, or for being unable to dedicate sufficient time to make something of a similar scale? Is it that they see such passion as wasted because the subject in question doesn’t match their own interest? Do they not believe it is deserving of the eyes that are on it now?
You can speculate, but at the end of the day, making something, and showing it to the world like this, is an extreme vulnerability. The act of making something is often as valuable as the result itself.
question that I never got around to asking you when you were working on this: did the community meme about OII never being finished ever get to you? The line rider world is full of a lot of projects that never got completed (SamThePoor’s Cosmic Ultimatum, etc.). What kept you going on this, when so many other projects seemed to fizzle out, as the community kind of shrank and receded, before it really came back into the zeitgeist? I really respect the deliberation and thoroughness you take with each step when you start a project.
A lot has changed since I started doing Line Rider art in middle school (here’s an old one: https://youtu.be/h__96TEF85g and here’s more what I do these days: https://youtu.be/o2XMFgk3JQQ). Forcing myself to learn editing software in middle school eventually helped me land video editing gigs before I transitioned to software. Line Rider took me on a fun path to get there :)
David’s always been an innovator, and I love seeing his stuff show up in unexpected places (though HN is probably the least shocking place I’d find this article)
I have a hard time feeling like large-scale preventable deaths of six figures of real human children is worth Jeff Bezos’ warm tummy fuzzies he gets when he thinks about being unfathomably rich. Instead of thinking about whether innovations like Amazon would have materialized in this brave new world where people can actually get their malaria treated and have access to clean drinking water, consider: how many people might have made something just as game-changing as Amazon, but died a preventable death, or lived on, but weren’t given the same resources to survive and thrive as someone like Bezos?
I am quite new to anything lisp-y, but I did my best to honor the lisp wizards that came before me with this one.