ambrop72/aprinter
View on GitHub ↗ ★ 145 C++
3D printer firmware written in C++
15 mentions on Hacker News by 1 person: 0 stories, 15 comments · first 2014-09-29 · latest 2017-07-06
20082026
-
…reads/writes Ethernet frames (the stack does implement Ethernet/ARP). Linux specific code is here: https://github.com/ambrop72/aprinter/tree/master/aprinter/ha... However note that the LinuxTapEthernet is not directly for my TCP/IP stack…
comment by ambrop7 · 2017-07-06 · in Let's Code a TCP/IP Stack: TCP Retransmission -
…really intend to promote this yet but anyway here's my in-progress TCP/IP stack implementation: https://github.com/ambrop72/aprinter/tree/master/aipstack It is written in C++14, is platform-independent and works within a single-threaded…
comment by ambrop7 · 2017-07-05 · in Let's Code a TCP/IP Stack: TCP Retransmission -
…rather than performance, hence no DMA support for now and maybe forever. Source code is here: https://github.com/ambrop72/aprinter/tree/ipstack/aipstack Actually this is currently in its testbed project (APrinter firmware for 3D-printers)…
comment by ambrop7 · 2017-04-04 · in Ask HN: What are you working on? -
…harder to understand at first, so to see how to wire it together examine the test program [2]. [1] https://github.com/ambrop72/aprinter/blob/ipstack/aprinter/s... [2] https://github.com/ambrop72/aprinter/blob/ipstack/tests/link...
comment by ambrop7 · 2017-01-02 · in Pointer-based Binary Heaps -
…I doubt I've done a buffer overflow in years. The bugs that I do make, are much more complex. [1] https://github.com/ambrop72/aprinter/tree/ipstack/aprinter/i... [2] https://savannah.nongnu.org/bugs/index.php?go_report=Apply&g...
comment by ambrop7 · 2016-11-11 · in TDD Doesn't Work -
…I can write mostly bugless code, I challenge you to find some bugs in my open-source projects :) https://github.com/ambrop72/aprinter https://github.com/ambrop72/badvpn
comment by ambrop7 · 2016-11-11 · in TDD Doesn't Work -
…also written my own "version" of function but intentionally lightweight, for an embedded project: https://github.com/ambrop72/aprinter/blob/master/aprinter/ba... Callback<void(int, int)> f = APRINTER_CB_OBJFUNC(&ThisClass::function, this);…
comment by ambrop7 · 2016-10-19 · in An empirical study on the impact of C++ lambdas and programmer experience -
…is possible to make a type-safe wrapper, see my implementation of lightweight callbacks [1]). [1] https://github.com/ambrop72/aprinter/blob/master/aprinter/ba...
comment by ambrop7 · 2016-07-04 · in Ruma, a Matrix homeserver written in Rust -
…firmware for CNC devices, is highly portable running on many chips including STM32F4. [1] https://github.com/ambrop72/aprinter
comment by ambrop7 · 2016-06-01 · in Make with Ada: ARM Cortex-M CNC controller -
…(like http://www.aprinter.eu/ ), which will itself compile firmware for you as configured. [1] https://github.com/ambrop72/aprinter
comment by ambrop7 · 2015-09-27 · in Nix Build of GHC to Run Haskell on Android -
…FAT32 driver for embedded systems (fully asynchronous!). It's part of my APrinter firmware project: https://github.com/ambrop72/aprinter/tree/master/aprinter/fs Currently it has good read support and limited write support (can re-write…
comment by ambrop7 · 2015-09-10 · in A FAT32 fragmenter -
…Just to annoy you I'll show some code of mine. It's a compile-time expression wrapper. Code: https://github.com/ambrop72/aprinter/blob/master/aprinter/me... Test: https://github.com/ambrop72/aprinter/blob/master/tests/expr_...
comment by ambrop7 · 2015-02-28 · in Templating in C -
…for proof :) I think we'll agree that it's not too complicated and easy to use. Implementation: https://github.com/ambrop72/aprinter/blob/master/aprinter/st... Usage: https://github.com/ambrop72/aprinter/blob/master/aprinter/sy... (the…
comment by ambrop7 · 2014-12-25 · in Intrusive lists in Doom 3 -
I hold second place :) https://github.com/ambrop72/aprinter/blob/master/aprinter/En...
comment by ambrop7 · 2014-10-01 · in Reddit source code -
…= WRAP_FUNC(my_func); // Now MyFuncWrapped::call() calls my_func. My implementation of the wrapper: https://github.com/ambrop72/aprinter/blob/master/aprinter/me... . But note it doesn't use std::forward since this code assumes no…
comment by ambrop7 · 2014-09-29 · in Template Metaprogramming with Modern C++: templates in depth