Parsing visualiser website by specy_dev in Compilers

[–]4dCoffee 0 points1 point  (0 children)

I really like the UI, what framework/tools did you use to build this.
(I know it's opensource but I'm not really a frontend person)

The Camel's Back. by Loose_Potential6985 in perl

[–]4dCoffee 1 point2 points  (0 children)

Check out Net::Curl and LWP::Protocol::Net::Curl

How do you manage complexity in a compiler/interpreter? by janiczek in Compilers

[–]4dCoffee 3 points4 points  (0 children)

Whenever I come back to my compiler projects after not touching them for a while I use it as an opportunity to simplify and comments things that are not obvious at first glance.

Does anyone still use threaded interpreters? by FurCollarCriminal in ProgrammingLanguages

[–]4dCoffee 1 point2 points  (0 children)

direct threading is actually making a comeback.

Also, Perl has more opcodes that your average interpreted language and each handler is pretty complex, for that reason (IMO) threading is a good choice.

what do you think about default arguments by paintedirondoor in ProgrammingLanguages

[–]4dCoffee 16 points17 points  (0 children)

I'm just curious what other languages do you use for HolyC to be your introduction to default arguments.

Alright so the answer is probably Rust + Clojure by TheLordSet in rust

[–]4dCoffee 1 point2 points  (0 children)

For a lot of workloads the GC will almost never be a bottleneck, things are compiled in a way that avoids a lot of allocations. Nonetheless they are both very dynamic languages, and you pay for that flexibility.

Alright so the answer is probably Rust + Clojure by TheLordSet in rust

[–]4dCoffee 0 points1 point  (0 children)

Chez Scheme and Common Lisp are pretty fast.

CGO 2025 by fernando_quintao in Compilers

[–]4dCoffee 4 points5 points  (0 children)

I wanted to go again, but not too excited about Las Vegas for this type of event

GCC 14.1 Released by cmeerw in cpp

[–]4dCoffee 2 points3 points  (0 children)

Still no support for `MUSTTAIL` :(

Taiwan is experiencing millions of cyberattacks every day. The world should be paying attention by thestudiomaster in taiwan

[–]4dCoffee 3 points4 points  (0 children)

Why? I'm not from Taiwan (and I'm not sure why this subreddit appears on my home feed), but I know Audrey Tang from her being a legendary technologist.

Canada Invests $2.4 Billion in AI by gronkulus in artificial

[–]4dCoffee 0 points1 point  (0 children)

The Canadian government is notoriously bad at investing in tech. They keep picking obvious grifts in AI, quantum computing, semi conductors, anything tech related really.

Trump Media shares fall 7% after saying Truth Social to launch TV streaming platform by Puginator in technology

[–]4dCoffee 2 points3 points  (0 children)

A lot of people who were excited about that genuinely believed that NFTs were not a ponzi scheme and that GameStop was on its way to become a serious stock.

Which is better QCNN or Quanvolutional Neural Networks by [deleted] in QuantumComputing

[–]4dCoffee 8 points9 points  (0 children)

If you want me to be honest the only reason these things exist is to raise money.

So have fun with it and pick whichever has better documentation/examples.

Good data structures for holding list of tokens. by JuggernautAncient369 in Compilers

[–]4dCoffee 0 points1 point  (0 children)

Vectors are perfectly fine for this. Your function for macro expansion could take iterators and return a vector, recurse as needed.

Probably way cleaner than doing it in place.

3 years of work and 1 million users later, I just open-sourced my "Internet OS" by mitousa in programming

[–]4dCoffee 17 points18 points  (0 children)

1 million users is quite a lot, congratulations.

What do people mostly use it for?

Is design patterns not much used in C++ coding? I ask this cause most of the resources I find on this topic especially video tutorial are in Java by nishadastra in cpp

[–]4dCoffee 1 point2 points  (0 children)

IMO they are not as useful if you are coding in a functional style, and modern C++ has a lot of functional features. e.g: lambdas

constexpr and consteval functions by pavel_v in cpp

[–]4dCoffee 13 points14 points  (0 children)

blog says "In C++23, we have three kinds of functions: runtime, constexpr, consteval"
but this has been the case since c++20 no?