1211230595256324096
This commit is contained in:
1 parent
502612291a
commit
c825ba0f06
4 files changed
+80
No files matched your search
+66
@@ -0,0 +1,66 @@
|
|||||||
|
---
|
||||||
|
title: "@FlohOfWoe @martin_cohen Sequential languages are still the bee's knees."
|
||||||
|
type: archive
|
||||||
|
source: twitter
|
||||||
|
source_url: "https://x.com/TheGingerBill/status/1211259156365266945"
|
||||||
|
author: "gingerBill"
|
||||||
|
handle: TheGingerBill
|
||||||
|
post_id: "1211259156365266945"
|
||||||
|
date: 2019-12-29
|
||||||
|
archived: 2026-08-28
|
||||||
|
draft: false
|
||||||
|
tags:
|
||||||
|
- archive
|
||||||
|
- twitter
|
||||||
|
- TheGingerBill
|
||||||
|
description: "@FlohOfWoe @martin_cohen Sequential languages are still the bee's knees."
|
||||||
|
in_reply_to: ""
|
||||||
|
---
|
||||||
|
|
||||||
|
## Source
|
||||||
|
|
||||||
|
- URL: https://x.com/TheGingerBill/status/1211259156365266945
|
||||||
|
- Author: gingerBill (@TheGingerBill)
|
||||||
|
- Posted: 2019-12-29 12:14:21
|
||||||
|
|
||||||
|
## Thread
|
||||||
|
|
||||||
|
**1/** **@TheGingerBill** ^1211259156365266945
|
||||||
|
|
||||||
|
**@FlohOfWoe** **@martin_cohen**
|
||||||
|
|
||||||
|
Sequential languages are still the bee's knees. I don't care how many people way it's "old fashioned" when it is still the easiest to read and write, and most importantly, easiest to reason about.
|
||||||
|
|
||||||
|
The "parallel paradigms" are usually completely unintuitive to reason about.
|
||||||
|
|
||||||
|
**2/** **@TheGingerBill** ^1211259575707557888
|
||||||
|
|
||||||
|
**@FlohOfWoe** **@martin_cohen**
|
||||||
|
|
||||||
|
In many regards, C is the virtual platform that hardware platforms target now, but that's probably a consequence of the kind of architectures CPUs use nowadays (i.e. von Neumann).
|
||||||
|
|
||||||
|
**3/** **@TheGingerBill** ^1211260016507936768
|
||||||
|
|
||||||
|
**@FlohOfWoe** **@martin_cohen**
|
||||||
|
|
||||||
|
The last paragraph in that article is bizarre to me since parallel programming isn't foreign to C-like abstractions either. The issue is that C targets "below the OS" rather than above it. If you had a more modern language that made assumptions such as an OS, the issue is gone.
|
||||||
|
|
||||||
|
**4/** **@TheGingerBill** ^1211260444075331585
|
||||||
|
|
||||||
|
**@FlohOfWoe** **@martin_cohen**
|
||||||
|
|
||||||
|
But "Parallel Programming" is such a bizarre term to me because it means so many different things. What kind of parallelism do you want? Do you want a particular subset such as concurrency? And which model do you want to follow? You cannot escape theory-ladenness.
|
||||||
|
|
||||||
|
**5/** **@TheGingerBill** ^1211261396996022273
|
||||||
|
|
||||||
|
**@FlohOfWoe** **@martin_cohen**
|
||||||
|
|
||||||
|
Sometimes a task queue is the best option, sometimes CSP style is good, sometimes the actor model good, etc.
|
||||||
|
|
||||||
|
An interesting problem with regards to programming language design. I don't think there is a silver bullet (sadly) for "parallel programming", but it will be C-like.
|
||||||
|
|
||||||
|
**6/** **@TheGingerBill** ^1211264388671430656
|
||||||
|
|
||||||
|
**@FlohOfWoe** **@martin_cohen**
|
||||||
|
|
||||||
|
My go-to approach in C is still a task queue which can signal where the tasks can signal when done and between other tasks. I'm not sure of the name of this model, but it's a pretty useful and simple one. But importantly, it is a model at the end of the day and it is flawed.
|
||||||
@@ -9,5 +9,6 @@ tags:
|
|||||||
- TheGingerBill
|
- TheGingerBill
|
||||||
---
|
---
|
||||||
|
|
||||||
|
- [[archive/threads/TheGingerBill/2019-12-29-sequential-languages-are-still-the-bees-knees]]
|
||||||
- [[archive/threads/TheGingerBill/2026-08-25-examples-of-odins-new-inline-asm-templates]]
|
- [[archive/threads/TheGingerBill/2026-08-25-examples-of-odins-new-inline-asm-templates]]
|
||||||
- [[archive/threads/TheGingerBill/2026-08-25-this-comment-was-asking-if-i-used-llms-agents-for]]
|
- [[archive/threads/TheGingerBill/2026-08-25-this-comment-was-asking-if-i-used-llms-agents-for]]
|
||||||
@@ -40,6 +40,7 @@ Example of the note shape (single spine, no branches): [[archive/threads/How to
|
|||||||
- [[archive/threads/LandsknechtPike]]
|
- [[archive/threads/LandsknechtPike]]
|
||||||
- [[archive/threads/levelsio]]
|
- [[archive/threads/levelsio]]
|
||||||
- [[archive/threads/m_schuetz]]
|
- [[archive/threads/m_schuetz]]
|
||||||
|
- [[archive/threads/martin_cohen]]
|
||||||
- [[archive/threads/meesedev]]
|
- [[archive/threads/meesedev]]
|
||||||
- [[archive/threads/mike_acton]]
|
- [[archive/threads/mike_acton]]
|
||||||
- [[archive/threads/MissQuickstep]]
|
- [[archive/threads/MissQuickstep]]
|
||||||
|
|||||||
@@ -0,0 +1,12 @@
|
|||||||
|
---
|
||||||
|
title: martin_cohen
|
||||||
|
type: note
|
||||||
|
draft: false
|
||||||
|
description: Archived threads by martin_cohen.
|
||||||
|
tags:
|
||||||
|
- archive
|
||||||
|
- twitter
|
||||||
|
- martin_cohen
|
||||||
|
---
|
||||||
|
|
||||||
|
|
||||||
Reference in new issue
Block a user