Email or username:

Password:

Forgot your password?
8 posts total
lawless polymorph

all software development is language development 🤔

Kartik Agaram

@typeswitch I try very hard to avoid language development, after having spent many years trying to avoid language development by doing language development (mu).

lawless polymorph

the Sea programming language.

it's exactly like C but instead of calling it undefined behavior, they say "you will drown".

lawless polymorph

C is neither high level nor low level, it is C level.
And if you try to get below C level, you will drown.

Capital

@typeswitch segmentation fault message replaced with "ben drowned."

Devine Lu Linvega

@typeswitch It's only regarded as a high-level language when the moon is closer to the earth.

lawless polymorph

a broken clock is right twice a day.

but if we remove the hour pointer, it's right once per hour.

if we also remove the minute pointer, it's right once per minute.

if we remove the seconds pointer, it's always right.

at this point you don't really need the clock face, so you can just look at a wall and say that, it's always right.

lawless polymorph

C library functions are always like: "SYNOPSIS. This function converts foos into bars depending on the user locale. ARGUMENTS. src and dest pointers must be distinct; it is undefined behavior if they are not QPU-aligned. RETURN VALUE. Returns the number of foos converted. A zero value indicates failure, or that zero foos were converted. A negative value indicates that the final foo was only partially converted (function got tired). Check this global variable to find out why."

Show previous comments
Trif

@typeswitch@gamedev.lgbt I build up speed for 12 hours to align my pointers

Phel

@typeswitch Honestly I rather have this than some doxygen badly rendering on mobile, saying things like "Factory for ElementManager" for classes named "ElementManagerFactory" as documentation to figure out why my application segfaults again

Astrid (Certified Server Maid)
@typeswitch ERRORS. EUNRDBL can occur if any of the following five conditions occur:
lawless polymorph

In the long term, all corporate logos evolve toward an uppercase lambda Λ, resembling the letter 'A' with the bottom stroke missing, usually depicted in blue or blueish grey tones. This evolutionary process is known as lambdinization.

lawless polymorph

mini-announcement: I've decided to publish Yotta.

Yotta is a forth-like language with a very small core. In the beginning, all you can do is:

- emit machine code,
- emit machine code that emits machine code,
- define new words ... that emit machine code

With just those primitives we define an x86-64 assembler, and from there we use that assembler to define most of a forth.

Check it out: github.com/typeswitch-dev/yott

mini-announcement: I've decided to publish Yotta.

Yotta is a forth-like language with a very small core. In the beginning, all you can do is:

- emit machine code,
- emit machine code that emits machine code,
- define new words ... that emit machine code

With just those primitives we define an x86-64 assembler, and from there we use that assembler to define most of a forth.

lawless polymorph

In Yotta there are only three primitives:

$XX emits the byte XX (in hex)
^XX emits machine code that emits XX
: A defines the word A

From there, the first thing we need to do is define semicolon (;) which emits the RET instruction. Semicolon is used to end word definitions. We use semicolon to end its own definition.

This is the preamble, the first bit of Yotta code that the Yotta interpreter/compiler runs. Besides semicolon, we're also defining line and block comments with \ and ( ).

In Yotta there are only three primitives:

$XX emits the byte XX (in hex)
^XX emits machine code that emits XX
: A defines the word A

From there, the first thing we need to do is define semicolon (;) which emits the RET instruction. Semicolon is used to end word definitions. We use semicolon to end its own definition.

lawless polymorph

tech monopolies are to blame for why software sucks so much.

software sucks because it's all developed with the intent to form exploitative monopolies. once a monopoly is established, they turn up the user- and vendor-hostile practices.

as long as tech monopolies are viable & lucrative, software will continue to suck.

could software not suck, under capitalism? maybe, but it requires severe punishment for anti-competitive practices.

the crisis in software was a crisis in capitalism all along.

Go Up