Newest Questions

-4 votes
1 answer
184 views

In this language I'm designing, there's the integer, floating-point, and object types. Most objects are created using a special kind of JSON notation. Because integers, fps, and objects are of ...
DannyNiu's user avatar
  • 467
6 votes
5 answers
3k views

One beneficial feature of Rust is that loop, the unconditional looping statement, allows so-called "returning break", ...
Dannyu NDos's user avatar
  • 1,485
0 votes
0 answers
111 views

In a "managed memory" language that I'm designing, I'm constructing grammar for the description of arbitrary object type that can simultaneously be used for initialization of objects with ...
DannyNiu's user avatar
  • 467
4 votes
0 answers
203 views

Local allocators can be beneficial in situations where tracking memory usage or releasing all allocated memory without running destructors at the end of an activity is possible. From that perspective, ...
feldentm's user avatar
  • 2,498
1 vote
2 answers
309 views

In a specific language's build system (or package manager), checking third party sources (whether local or from a package registry) can be done in different ways. NPM forces libraries to transpile TS/...
Hydroper's user avatar
  • 407
3 votes
1 answer
232 views

Phi nodes join data flow based on incoming control flow edges. Determination of incoming control flow can be encoded either by directly listing predecessors or by listing blocks dominating ...
feldentm's user avatar
  • 2,498
7 votes
4 answers
772 views

For those not in the know, a golfing language is a language designed such that its programs can be written with as few bytes as possible. With that in mind, what metric, what objective, do language ...
Rhaixer's user avatar
  • 353
4 votes
1 answer
287 views

What's the history and reasoning behind the differences in the typeclass hierarchies in various functional programming language standard libraries? For instance, why does ...
nicoty's user avatar
  • 141
9 votes
1 answer
310 views

I am interested in the concept of stackful coroutines, as how it is used by the developer in a language. I have learned that Erlang and Go (perhaps some other languages) does have preemptive ...
Jonas's user avatar
  • 715
0 votes
2 answers
1k views

In most C-like languages, a call such as printf("%d", x) is followed by two parentheses; and I see that a statement such as ...
user avatar
3 votes
2 answers
123 views

In my language, for its official implementation, I'm planning to support an approach like React.js's one, which, I admit, looks more cryptic than approaches like (.NET XAML)/(Adobe MXML) if code ...
Hydroper's user avatar
  • 407
1 vote
1 answer
299 views

I'm prototyping a language that is memory safe by managing all pointers (details irrelevant here). I want to have a null-coalescing operator with high precedence, it should bind more closely than ...
DannyNiu's user avatar
  • 467
34 votes
6 answers
6k views

I actually drafted most of this question before the relevant stack overflow question but it's still relevant. C has a famously confusing operator precedence order. It is divided into 15 levels and ...
mousetail's user avatar
  • 9,627
0 votes
1 answer
243 views

As a follow-up to How should I read type system notation? (since it doesn't give depth on that) Type variables An algorithm I'm trying to understand uses the $\alpha$ and $\beta$ symbols to denote ...
Hydroper's user avatar
  • 407
6 votes
0 answers
135 views

What are some options for integrating subtyping with Damas-Hindley-Milner inference? gets into this tangentially at the end of Jon Purdy's post ("Placing various restrictions on recursion (...
David Durschlag's user avatar

15 30 50 per page
1 2
3
4 5
64