Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
syncurrent
searching Neon…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
5 ms
·
1.
▲
by
syncurrent
6mo ago
This timing additions to a language is also at the core of imperative synchronous programming languages like Este rel, Céu or Blech.
2.
▲
by
syncurrent
8mo ago
A way to implement coroutines in C is via protothreads. I admit that they are a bit hacky - but you can get quite far with them. I used them to implement an Esterel/Blech like environment: https://github.com/frameworkla
3.
▲
by
syncurrent
1y ago
In `proto_activities` this blinking would look like this: pa_activity (Blinker, pa_ctx_tm(), uint32_t onMs, uint32_t offMs) { pa_repeat { turn_on_LED(); pa_delay_ms (onMs); turn_off_LED(); pa_delay_ms (off
4.
▲
by
syncurrent
1y ago
A similar approach, but rooted in the idea of synchronous languages like Esterel or Blech: https://github.com/frameworklabs/proto_activities
5.
▲
by
syncurrent
3y ago
Proto-Activities have this context to store the state in the caller. https://github.com/frameworklabs/proto_activities
6.
▲
by
syncurrent
3y ago
Somewhat related to Fibres are the Trails of synchronous reactive programming languages. Both allow efficient logical concurrency based on cooperative scheduling. The nice thing with Trails is that the scheduling can be determined by the co
7.
▲
by
syncurrent
3y ago
Drakon uses Silhouettes to show code linearly and abstracted at the same time: https://drakon.tech/read/silhouette
8.
▲
by
syncurrent
3y ago
Right, imperative synchronous programming simplifies real time processing a lot. Somehow it does not get the attention it should, which is IMHO due to the fact that it is not available in common programming languages. This is why I tried to
9.
▲
by
syncurrent
4y ago
The magic source of Contiki is IMHO the use of protothreads as a lightweight concurrency system. Protothreads can also be used to implement synchronous programming models - like this one: https://github.com/frameworklabs
10.
▲
by
syncurrent
4y ago
This paper: https://past.date-conference.com/proceedings-archive/2017/py... is on Sequentially Constructive Synchronous Concurrency which is also the base for the synchronous language Blech ( https://www
11.
▲
by
syncurrent
4y ago
This is a small project using Blech on an ESP-32 using PlatformIO: https://github.com/frameworklabs/ranger It doesn’t use Blechs newer module system though.
12.
▲
by
syncurrent
4y ago
I created two „offsprings“ of Blech: 1. A C based lib using protothreads: https://github.com/frameworklabs/proto_activities 2. A Swift DSL: https://github.com/frameworklabs/Pappe I think the sync
13.
▲
by
syncurrent
4y ago
Synchronous programming is also a good choice IMHO to handle multiple concurrent activities in a simple way on an embedded system. https://github.com/frameworklabs/proto_activities
14.
▲
by
syncurrent
5y ago
I find synchronous languages like Esterel, Céu, or Blech both weird and eye opening. I created a DSL for Swift (called Pappe) to bring some of the ideas to a more mainstream language.