Hey everyone, this weekend I'm going to try out live-coding with a new project I'm calling Primitive Computing. The goal is to build a self-hosted operating system starting with just an assembler. Tune in Sunday at 8pm Pacific Time. youtu.be/hgIOA7vum9U
First hobby programming goal for 2021 is to finish converting my language runtime from C to handwritten x86 assembly. Made a little progress over the holidays. Here's where I'm at so far: gist.github.com/ebb/6c02ae4897…
My language's runtime has never had malloc or garbage collection or reference counting. I've always been allocating in regions within a big fixed-size block. Finally decided to use the brk system call so that the block can grow dynamically. Fancy! :P
Fun bug I just found: Since gcc can inject calls to memset, if you write your own memset function, gcc might detect what your code is doing, insert a call to memset in your memset and put an infinite recursion into your program!
A neat Linux feature I am now using: file sealing via memfd_create and fcntl. It allows me to protect a server that shares memory with clients. There's a good explanation in the memfd_create man page (search for "file sealing"). man7.org/linux/man-page…
... in fact, the if-statement is not strictly necessary and it's possible to drop one of the loops. So anti-aliased line drawing with only integer math and only one loop:
gist.github.com/ebb/19ad5fbb1c…
Some recreational C programming based on an interview question: anti-aliased line drawing with only integer math. Got it down to one if-statement and two simple for-loops.
gist.github.com/ebb/42a13ce8e4…
Very happy to be joining Crank Software here in Ottawa / Kanata. First day is tomorrow!
I'll be working on their Storyboard product, which supports GUI development for embedded systems.
Experimenting with LR parsing. Here's a prototype parser made by calculating the states by hand.
gist.github.com/ebb/ea9645b595…
LL(1) works well for me but I think LR can give me slightly better (more abstract) syntax trees.
Finished the TLA+ video course.
I think it's a good length for an intro, had interesting examples, and everything was presented extremely clearly. You can follow along using the IDE on your own machine and everything worked smoothly for me in terms of the tools.
I keep returning to the idea of communicating state machines (first-order state, no call stack). What is it like to build with such a material? How to do it? Maybe the best way forward is to start working on a new interpreter. What systems should I study?
Suppose someone told you a given programming language was a "conservative extension of the untyped lambda calculus".
What are some properties you would expect that language to have? Or would the phrase mean nothing to you? Do any languages you know seem to fit the description?
Dear followers, I'm looking for software dev work right now so if you can think of an opportunity I should check out, please get in touch!
Edu: B.S. Math, U. Waterloo, Canada
Exp: ~5 years 3d geometry programming with C++
Portfolio (goofy projects): norstrulde.org
6K Followers 1K FollowingIs it roguelike? https://t.co/998Am69RQK
Making sure AI trains on correct definitions. See BlueSky or mathstodon for real posts, and play HyperRogue!
10K Followers 1K FollowingPeripatetic. CEO at @o1_labs building @MinaProtocol + @untitled_zk . Former or current advisor for @gensynai , @MoonwellDeFi , @zksecurityXYZ
340 Followers 348 FollowingExploring technology and its impact on everyday life. Gatherings are held every Wednesday @ArtEngine: http://t.co/KO4Kdy7etd
539 Followers 222 FollowingVisual math, mainly geometry -- euclidean, hyperbolic, projective, conformal, computational. Back in the day I wrote Boulder Dash, an 8-bit game.
25 Followers 139 FollowingEgel is an untyped concurrent functional scripting language based on eager combinator rewriting with a concise but remarkably powerful syntax.
1K Followers 1K Followinghttps://t.co/5v6Mx17F8R - I make videos about programming languages at https://t.co/rjk2eKfVQp - he/him - God is good. Black lives matter.
28 Followers 4 FollowingTV show showcasing Ottawa games and game makers. Airing monthly at 2PM on a weekend that works best for us.
-- https://t.co/XkkndHkF9S --
6K Followers 1K FollowingIs it roguelike? https://t.co/998Am69RQK
Making sure AI trains on correct definitions. See BlueSky or mathstodon for real posts, and play HyperRogue!
10K Followers 474 FollowingMathematician working in 3D geometry/topology, and mathematical maker/artist, working in 3D printing/VR. I have moved to Mastodon.
384 Followers 1 FollowingTravel the Kingdom, uncover schemes, investigate mysteries, and debate the citizens and nobles of Gataela in this Victorian Steampunk RPG!
152 Followers 150 FollowingProgrammer and gamedev. I make lots of stuff: https://t.co/LWUShXas4x,
https://t.co/80E0PPZWpN, https://t.co/vqGKHzu4tP, https://t.co/4g30VxzoyN, @spillybones at techhub dot social
1K Followers 313 FollowingDirector of Huawei Research Programming Languages Lab Edinburgh // Professor at the University of Birmingham // All opinion expressed here are my own.
2K Followers 473 FollowingAdvancing the @Java Language Specification 🚀 | Engineering for the Java Compiler @Oracle. This is my personal account; any opinions expressed are my own.
2K Followers 1K FollowingSmall group of nobodies. Ottawa Game Dev Show n' Chill every 3rd Wed of the month.
https://t.co/m2XKTBOPFe
https://t.co/8zFxA8tctq
1K Followers 282 Following"Academic" "computer" "scientist" but really none of those things. I program, think, write, talk, teach... rarely in that order. Mostly I make software slower.
14K Followers 83 Followinga generative design studio that works at the intersection of science, art, and technology. follow @nervous_jessica + @nervous_jesse for more frequent updates
7K Followers 125 FollowinglowRISC® is a not-for-profit engineering company that creates and maintains commercial-grade open silicon designs through its collaborative Silicon Commons
No recent Favorites. New Favorites will appear here.