[ prog / sol / mona ]

prog


 

Lynn Conway died

1 2024-06-12 14:14

She worked at IBM in the 1960s and invented generalized dynamic instruction handling, a key advance used in out-of-order execution, used by most modern computer processors to improve performance. She initiated the Mead–Conway VLSI chip design revolution in very large scale integrated (VLSI) microchip design. That revolution spread rapidly through the research universities and computing industries during the 1980s, incubating an emerging electronic design automation industry, spawning the modern 'foundry' infrastructure for chip design and production, and triggering a rush of impactful high-tech startups in the 1980s and 1990s.[6][7][8][9][10]

28

9 2024-06-15 09:15 *

>>8
no pointing at me im a man, baby

10 2024-06-15 15:07 *

IDK a 30 year old social reject autist trooning out is whatever.
But a guy doing it while having a wife and kids and shit is fucked up, you are ensuring they will be fucked up for life.
Also never heard of this guy or his accomplishments before, why is everyone making a big deal of this?

11 2024-06-15 18:59 *

lipth

12 2024-06-16 12:00

Neat thread about our sister programmers

BTW where can one get a free pdf for the Horton's "Portable C Software"?
It is listed as historic C book, along with the K&R, but libgenesis doesn't have it.

13 2024-06-17 00:26

>>12
Maybe it has never been scanned?

14


VIP:

do not edit these



 

linux distros

1 2023-01-13 20:58

what you use?
i use artix

281

82 2024-05-22 05:20 *

>>81
mutable yucky

83 2024-05-25 23:59

I LOVE Linux! MY favorite distro is Ubuntu.

84 2024-05-26 09:13

I LOVE unix! MY favorite unix is linux.

85 2024-06-13 01:00

I LOVE LAMP!

But, seriously; I got Linux Mint for my toaster-grade laptop, I'm going to try to upgrade and re-life an old chromebook with prolly graphineOS for DIY cred, and, AND.. I'll be picking up a decent 4core w/ a real graphics card and trying (and failing) to harden and instal Slackware or Artix. Endgame on that is a Pen/For and hard education platform.
No Windows for me. About 4 hours ago, i had to untrojan my mom's HP. Again.

86 2024-06-13 14:56

>>85
just tell your mother to stop clicking on dubious links while browsing obscure websites for extreme pornography

87


VIP:

do not edit these



 

a gerbil's anatomy (Gerbil Scheme)

1 2023-07-12 13:54

https://www.youtube.com/watch?v=wXZcEuhhGZ0

2 2024-06-09 16:33

Found Gerbil just the other day, pretty promising-looking imho: https://cons.io/

3 2024-06-11 16:14

>>2
I now understand why Scheme is unpopular.
Scheme is full of cons.

4 2024-06-13 02:24

>>3
Very conservative.

5 2024-06-13 10:06

>>3

lel

>>2

What I meant, other than the many academia and write-yourself-a-foo-in-x-days Schemes, this one is packed to the gills with real-world batteries: HTML & XML & JSON, HTTP clienting and serving, SQLite MySQL & Postgres drivers, JSON-RPC, RegEx, crypto, Protobuf, MIME, OS systems stuff (epoll etc) beyond just file IO & stdio..

6


VIP:

do not edit these



 

Functionally pure optimal child fucking design techniques with termite scheme

1 2024-06-12 01:32

Well expert /prog/riders, what's the most optimal functionally pure child fucking design techniques you use with termite scheme?

2 2024-06-12 07:33

For me its taking my termite enabled lambda statue and using it as a smart correction stick during bath time

3 2024-06-13 02:23

pure lambda calculus λ

4 2024-06-13 07:37 *

why does ben allow shit like this

5


VIP:

do not edit these



 

How do the various compiled Schemes compare?

1 2024-06-10 08:47

There's so many of them: Chez, Chicken, Gambit, Gerbil (Gambit-based), Racket, Guile.

Compile time matters, runtime perf matters more, std lib matters quite a bit I'd say.

Anyone tried them all — or multiple of the above? Any others I've been missing?

2 2024-06-10 08:48

Oh, and "not abandoned and bitrotted" also matters.

3 2024-06-10 15:20

Apparently Racket has used the Chez incremental compiler since v8.0. Racket's profiler can be imported with (require profile) and Guile's is (use-modules (statprof)), haven't found something similar for Gambit so far besides `gsc` taking a `-track-scheme` parameter.

4 2024-06-10 15:26

https://ecraven.github.io/r7rs-benchmarks/

5 2024-06-10 17:46

>>4
Nice, it's interesting how s7 jumps up for tests like cat and tail

6


VIP:

do not edit these



 

how to write direct to memory under protected mode?

1 2024-06-05 13:21

hello I am trying to do graphics on windows and I would very much like to do it by writing to the video buffer directly rather than with the gdi or by learning how to use openGL or what have you, ken silverman's build 2 engine is a win32 application and he says it uses self-modifying code so surely it must be accessing memory directly right?? he also says it triggers antiviruses a lot so maybe it does it with crazy hacks I wouldn't want to deal with but if there's a relatively simple way of doing it please tell me! taskete onegaishimasu!

25

6 2024-06-07 08:09

windows

sell my graphics program for money

That smells like Microshit.
Embrace free and open source software!

7 2024-06-07 08:24

>>6
Money.

8 2024-06-07 09:31

>>5
Enjoy your anti-virus shutdown

9 2024-06-08 16:30

>>1,5

Device Manager lists the physical address of the framebuffer under
Display Adapters > Resources, which you can pass to MmMapIoSpace to get
the nonpaged virtual address. You can draw directly on the framebuffer
using that address like /dev/fb0

If you want to create a window-relative framebuffer then you necessarily
have to go through the Window's API to request it before drawing, the
simplest way seems to be using BitBlt to draw a bitmap after requesting
a device context handle: https://solhsa.com/wintut/ch3.html

10 2024-06-09 10:35

>>1

For self modifying code you need mmap or its windows analog.
Both support remapping memory as executable.
Only iOS doesn't allow self modifying code.
Because Apple wants to completely control what is allowed to execute.
They even ban virtual machines, including Lisp systems.

11


VIP:

do not edit these



 

YAML what is this shit?

1 2024-06-06 10:21

There are people using that to store data?

2 2024-06-07 10:42

Yes.

3 2024-06-16 05:40 *

There are people writing programs in yaml the way lisp is written in s-expressions. It's terrible.

4


VIP:

do not edit these



 

US goyvernment will force you to write Rust

1 2024-05-23 12:40

https://www.infosecurity-magazine.com/news/us-plans-software-security-burden/

Because normgroids are too dumb to write good C99 code, everything have to be dumbed down to accommodate their mental handicaps.

213

14 2024-05-24 13:05

Imagine the number of monkey jobs rewriting everything in Rust!!!

Unemployment crisis averted?

15 2024-05-25 21:06

good I hate zoomers
https://ntrs.nasa.gov/citations/19890006940
https://nap.nationalacademies.org/read/5463/chapter/3

16 2024-06-01 20:04

>>13
I doubt Rust makes you more productive. *Maybe* it helps you catch certain classes of errors ahead of time but it doesn't do it for every kind of error (even memory errors as any language with support for dynamic allocation can have what are practically equivalent to a memory leak.)

A good compiler really isn't a substitute for careful thought no matter how good it is and Rusts compiler is far from perfect.

17 2024-06-06 08:11

>>16
The increased productiveness of Rust is due to the compiler catching a certain class of buggy programming at compile time. When there is a bigger cognitive burden, there is also a correlated cost in programmer time; the opposite also applies.

18 2024-06-06 16:14 *

>>17
Logical fallacy. The cognitive burden is higher when writing Rust because programmers do not know Rust and are therefore even more likely to produce buggy code.

19


VIP:

do not edit these



 

What shell do you use?

1 2021-10-12 12:07

I am thinking of using Dash because it is less bloated than other shells in the Bourne shell family (e.g. Bash and zsh).

236

37 2024-05-21 06:35

>>36
How does csh compare to ksh or bash? I have only heard that it shouldn't be used for scripting: https://harmful.cat-v.org/software/csh

I have also heard other bad things about it: https://www.grymoire.com/unix/CshTop10.txt
Maybe tcsh has fixed some of these problems?

38 2024-05-21 07:54

Right now it's zsh for interactive use and whatever /bin/sh happens to point to for scripting. Only feature zsh has that I actually use and no other shell has is the rc_quotes options, helps when writing commit messages inline so you can type "it''s" instead of "it'\''s". I actually used rc as a login shell for a little while and it works pretty good except for retarded programs like vim using shell syntax to do shit like redirection (lol) and lacking job control which I don't use much anyway, tmux does the "run multiple programs and switch between them" thing easily and better.

39 2024-05-21 22:12

I just switched to ZSH after using Bash for around 2 years. I've also messed with fish, but I see a lot of people shit on it because it was written in Rust, which is fair.

40 2024-05-22 15:43 *

I'm testing out zsh right now, but it's retarded that you need to add all this garbage to your .zshrc file to get normal keybindings to work https://wiki.archlinux.org/title/Zsh#Key_bindings
For what possible reason would home/end not be bound by default...

41 2024-06-03 16:58

zsh. i was recommended it by a friend when i first switched to linux and i like it well enough and see no reason to switch currently

i spend more time in emacs than i do in the terminal though so eshell gets an honorable mention

42


VIP:

do not edit these



 

SUBLEQ status?

1 2024-06-01 21:34

It had an entire an OS made for it http://users.atw.hu/gerigeri/DawnOS/index.html

Runs agonizingly slow and wastes more memory than GNU Emacs.

Similar project, but even more retarded:
https://github.com/Jellonator/Nandlang

23

4 2024-06-02 00:44

>>3
Japanese proposed a 2 instructions extension
https://janders.eecg.utoronto.ca/pdfs/esl.pdf

It speeds SUBLEQ up like 5 times so it becomes practical.

5 2024-06-02 01:28

>>4
which defeats the asinine simplicity purpose of atleast dawnos midori neko
im not sure what the purpose of "subleq os" was but it was on some obscure forum that was barely about niche operating systems and it looked similar to dawnos really bad interface but came long before 2017
the author was acting how do you say it like a netizen child and most of the forum didnt take him seriously
imo you basically spelled out the issue with the subleq instruction in >>1 "fixing it" by putting in more instructions fails oisc subleq is not a good instruction for "practical oisc" no matter how obvious of a choice it is this shows some of the vast fallacious contradicting logic in this project you need a extremely complex oisc instruction to make it practical not something that does rebound jmp
this paper calls it tisc vary bait and switchy or maybe it was written as a subtle joke on the unpractical subleq oisc case
i mean its using words like bloat seriously monadic can be meme worthy too but its used properly here disregard subleq is already esoteric operating system meme terminology

6 2024-06-02 01:30 *

also the filename is esl im sure you are doing this on purpose

7 2024-06-02 13:36

>>5
Very complex instruction word computer.

Consider ChatGPT. At its core is a tensor-matrix multiplication instruction.

In general, multiplying the machine's state by a matrix can produce arbitrary change.

So why not make tensor-matrix multiplication into an OISC?

Take VLIW to its maximum potential!!!

8 2024-06-03 00:33 *

>>7
they call this meme a single functor supercombinator smd monad but its a processor instruction and it requires a processor that isnt stack backed certain mills maybe or has >99 primary stacks
in a way this is like a pseudo visc with programmable microcode much like lisp processors are but its a different design to get there
unlike niscs oisc isnt vary interesting and if the ai lab was still going strong machines would have both properly programmable visc ciscs and neuron nisc processors

9


VIP:

do not edit these



New Thread





do not edit these