|
my current project is a webassembly -> verilog compiler in rust this is almost certainly a terrible idea
|
# ¿ Aug 31, 2018 00:57 |
|
|
# ¿ Sep 12, 2024 04:48 |
|
Bloody posted:what the gently caress (re: why the hell i'm writing a webassembly -> verilog compiler, from a few pages back) mainly i just want to be able to write my high-level DSP cores in rust. i don't want to actually write a rust / llvm compiler backend tho, i find llvm IR kinda exhausting, so i figure i'll just work with webassembly instead, which rust can target. it's a reasonably lightweight IR format. more broadly, i think most languages are going to end up with webassembly backends in the near future. all the JVM languages, haskell, and typescript have wasm targets in progress right now, and i figure other people are gonna follow suit, to try to get a slice of that sweet sweet frontend pie. so, i support a bunch of languages pretty easily. and maybe, in the future, once there's an FPGA on every cpu die, Joe Doesn't Understand Hardware can write his code in TypeScript or whatever, and use my tool to accelerate parts of it on the FPGA. or, y'know, not. but it's a fun side project.
|
# ¿ Sep 1, 2018 10:43 |
|
Bloody posted:post the github https://gitlab.com/kazimuth/brine pay no attention to all those PDFs stored in git-lfs that I definitely didn't rip from sci-hub
|
# ¿ Sep 1, 2018 21:53 |
|
gonadic io posted:the rules don't make much sense but as soon as you learn them all programming is really easy
|
# ¿ Sep 2, 2018 02:02 |
|
jony neuemonic posted:matrices clicked for me this morning and it feels extremely good. matrices are rad i feel like every time i pick them up i learn some new weird property they have, and then immediately forget about it
|
# ¿ Sep 2, 2018 15:24 |
|
"serverless" means "spin up a docker container in someone else's kubernetes deployment, run one (1) javascript function, and then terminate the container, every time I hit this REST endpoint"
|
# ¿ Sep 4, 2018 16:34 |
|
the rare good shitpost from r/programming: a PCRE regex that matches "A B C" where A+B=C https://regex101.com/r/YCTmCs/3
|
# ¿ Sep 5, 2018 18:40 |
|
jonathan blow is mad about rust: https://www.youtube.com/watch?v=4t1K66dMhWk dont watch the video. it's way too long. it sucks
|
# ¿ Sep 14, 2018 13:59 |
|
Symbolic Butt posted:I'm beginning to suspect that she didn't really imply what he's saying she implied, that the "righteous borrow checker guided her to do the right design". iirc the first half of the keynote was in c++, she showed how traditional OO poo poo completely falls apart for games, and why ECS is good design. then she moves over to rust, and shows that ECS has a bunch of benefits aside from working well with the borrow checker. MrMoo posted:Also, he's probably right.
|
# ¿ Sep 14, 2018 20:23 |
|
ctps: mildly concerned that the production URL of this web service starts with "staging"
|
# ¿ Oct 19, 2018 13:48 |
|
that's why I like J. most of its horrible linenoise operators are language builtins.code:
(well, technically they might be in the standard library. Still, it's way more brazen than Haskell.)
|
# ¿ Oct 21, 2018 09:42 |
|
gonadic io posted:I do actually have an unrelated hobby project that does depend on discords api, but because I never bothered writing tests luckily it can deploy just fine even if said api is down reddit posted:I don't think many people here are against the idea of a CoC in general. A few are, but most just seem to be opposed to the people pushing for heavier politicization of what we don't want to be political. Most people also aren't really fond of HR either, but you have to put up with them to keep your job. luckily, enforced christianity isn't political gently caress programmers tbh
|
# ¿ Oct 22, 2018 18:25 |
|
rip terry, and also the time cube guy. less terrible programmers than the rest of us
|
# ¿ Oct 23, 2018 08:05 |
|
DaTroof posted:that was my first guess. possible bonus, someone added `rm -rf node_modules` to the start of the build because they couldn't figure out how else to resolve dependency changes
|
# ¿ Oct 25, 2018 02:03 |
|
my favorite json parser is the one that parses as little json as possible
|
# ¿ Oct 28, 2018 17:01 |
|
quote:Not only are existing tests not very good, most things aren't tested at all. You might point out that the coverage stats for a lot of packages aren't so bad, but last time I looked, there was a bug in the coverage tool that caused it to only aggregate coverage statistics for functions with non-zero coverage. That is to say, code in untested functions doesn't count towards the coverage stats!
|
# ¿ Nov 12, 2018 03:15 |
|
game programming patterns is a good design patterns book that's mostly applicable outside gamesPie Colony posted:"design pattern" is just a term to describe a way to overcome a deficiency in a programming language. the GOF design patterns book was written to overcome deficiencies in 1994 java. except people read it now and think sprinkling design patterns in their code makes their code better i mean pretty much anything would make my code better
|
# ¿ Dec 7, 2018 20:03 |
|
Finster Dexter posted:uh Service Locator and Event Queue patterns are trash garbage don't ever use those fwiw the 'event queue' the book describes is for a single system's input, e.g. a deduplicating audio queue, which seems reasonable to me there's no excuse for service locator, though. it's just singletons but worse
|
# ¿ Dec 7, 2018 21:19 |
|
the talent deficit posted:i wrote a rest api in 100% postgres for funsies
|
# ¿ Dec 10, 2018 23:25 |
|
ctps: runningcode:
|
# ¿ Dec 12, 2018 11:56 |
|
god i wish
|
# ¿ Dec 12, 2018 12:07 |
|
looking through old projects and found the time I tried to stuff the xilinx verilog compiler into a docker image that thing did not want to fit into sub-5-gigabytes, let me tell you
|
# ¿ Dec 12, 2018 20:58 |
|
Krankenstyle posted:whew, think im finally starting to get the hang of tex scoping & expansion, a little kinda glad i don't understand this post tbh
|
# ¿ Dec 14, 2018 08:54 |
|
NihilCredo posted:can i call myself an architect yet? google cache invalidation. you'll thank me later
|
# ¿ Dec 18, 2018 16:55 |
|
NihilCredo posted:oh i have that, it's called alt-f4 ah yes, the "snowpiercer" approach to software development
|
# ¿ Dec 18, 2018 17:29 |
|
https://twitter.com/whitequark/status/1090281534114971649
|
# ¿ Jan 30, 2019 14:27 |
|
lol, because that worked so well for Go edit: I'm legit baffled by this. Like npm is the only good thing about node, and weren't we all just excited about small self-contained executables?? Just release the pretty new stdlib as a package and use ts-node animist fucked around with this message at 17:32 on Jan 30, 2019 |
# ¿ Jan 30, 2019 17:27 |
|
Sagacity posted:and, like all developers, they've decided to not learn anything from past mistakes or from other languages. instead, they're going to poorly reinvent the wheel, yet again.
|
# ¿ Jan 30, 2019 17:35 |
|
npm's UX is easy to use and effective for hooking its target audience, frontend devs who wanna do some backend stuff it's not good in the sense that it's well-made software, but there's like 3 pieces of well-made software so that's a moot point
|
# ¿ Jan 30, 2019 18:19 |
|
|
# ¿ Feb 1, 2019 13:28 |
|
i had to maintain an ant/ivy project for years and i still shudder at the thought of executable xml it may have just been that it was a poo poo project though. fifteen years of code written by college students in their spare time, held together with spit. eugh
|
# ¿ Feb 2, 2019 06:24 |
|
i remember nim having nice editor tooling last time I poked at it, which was a pleasant surprise although it's possible my baseline for "nice" has been skewed by RLS which works approximately 1/10 of the tine
|
# ¿ Feb 5, 2019 21:51 |
|
typescript's type system is stupidly powerful. honestly i've never used another language with nicer unions:code:
of course, it's still javascript, so it'll run slow and have weird edge cases. and also the type system is full of unsafe holes. but it works well enough for what it is
|
# ¿ Apr 4, 2019 01:34 |
|
Sapozhnik posted:you are like a little baby, watch this
|
# ¿ Apr 4, 2019 16:59 |
|
HoboMan posted:also a javasript to rust converter. what??
|
# ¿ Apr 4, 2019 17:03 |
|
CPColin posted:fixed typescript has a better tooling/typesystem quality combo than any other language, change my mind
|
# ¿ Apr 4, 2019 17:11 |
|
Flat Daddy posted:can I use ‘deleted X-hundred lines of lovely code’? *refactored a large legacy codebase
|
# ¿ Apr 8, 2019 20:27 |
|
the more i attempt to use c++ metaprogramming the more i can feel my brain dribbling out my ears
|
# ¿ Apr 9, 2019 00:34 |
|
Phobeste posted:c++ metaprogramming is incredibly good but unfortunately it requires a lovely perfectly smooth brain. marble-like, hard as a rock. this is enlightenment
|
# ¿ Apr 9, 2019 00:57 |
|
|
# ¿ Sep 12, 2024 04:48 |
|
i love query builders but really any sort of janky metaprogramming bullshit is cocaine to me so my judgement probably shouldn't be trustedHoboMan posted:guess who got two thumbs and found plaintext passwords in the database? hows that going for you
|
# ¿ Apr 10, 2019 06:49 |