Ben Cohen

@airspeedswift
5K Followers
336 Following
2K Posts
thwart leader
GitHubGitHub.com/airspeedswift
Webairspeedvelocity.net
Once again cooking the pasta recipe with the most indecisive ingredient measurement ever.
The talks have been downgraded from "historic" to "marathon" due to this guy flaming out.
NYT doing its usual fluffing of the admin by describing "historic Iran talks, first since 1979", memory holing that Obama's SoS negotiated an _actual_ nuclear deal with Iran in 2015 (which Trump cancelled, causing the current crisis).
Mmm hmm. And is Iran in the room with us right now?
The way this omnishambles ties together different threads of badness is impressive.
Told the boy about the astronauts asking ground control for help with Outlook not working and his main question… “what’s outlook”?
Just got a call from the school counselor, because the kids were reading a short story in English class by Roald Dahl about a murderer using cyanide and apparently looking up "how long does cyanide take to kill you" on the school wifi sets off ALL THE FIREWALL ALARMS.
I am not a robot, but if a robot really wants to log onto the santa clara county website and pay my property taxes I say let them.

And then a few days later, one for the M5Stack NanoC6

"This project runs pure Swift on the ESP32-C6 (RISC-V) — from the 2nd-stage bootloader to the application — with zero lines of C or assembly." Boots directly into @main.

https://forums.swift.org/t/bare-metal-swift-on-m5stack-nanoc6-no-c-no-assembly-no-esp-idf/85711

Bare-Metal Swift on M5Stack NanoC6: No C, No Assembly, No ESP-IDF

Inspired by @kishikawakatsumi 's Raspberry Pi Pico examples, I wanted to try the same approach on a different architecture. This project runs pure Swift on the ESP32-C6 (RISC-V) — from the 2nd-stage bootloader to the application — with zero lines of C or assembly. Target hardware: M5Stack NanoC6 (ESP32-C6, RISC-V, 320KB SRAM) What's in it Pure Swift 2nd-stage bootloader — disables watchdogs, reads SPI flash via direct register manipulation, configures Flash MMU, loads segments, and jumps t...

Swift Forums

Not one but two cool pure #swift bare metal examples were recently posted to the forums.

First for the Raspberry Pi Pico... "Zero lines of C. Not even the vector table, boot2, or startup code. The only non-Swift file is the linker script."

https://forums.swift.org/t/bare-metal-raspberry-pi-pico-examples-written-entirely-in-swift-no-c-code-at-all/85454

Bare-metal Raspberry Pi Pico examples written entirely in Swift, no C code at all

I'd like to share pico-bare-swift, a collection of bare-metal Raspberry Pi Pico (RP2040) examples written entirely in Embedded Swift, with zero lines of C. Not even the vector table, boot2, or startup code. The only non-Swift file is the linker script. What made this possible Placing data in specific linker sections. ARM Cortex-M requires the vector table and boot2 to be placed at specific addresses via linker sections. This used to require GCC's __attribute__((section(...))), but @section (SE-...

Swift Forums