Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
lochsh
searching Neon…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
6 ms
·
1.
▲
Intro to Quantum Computing
(mcla.ug)
3 points
by
lochsh
2y ago
|
0 comments
2.
▲
by
lochsh
4y ago
Oxford Ionics | Senior Software Engineer | UK hybrid up to 4 days remote/1 day in office | Full time Oxford Ionics are a quantum computing start-up building trapped-ion quantum computers. We're using Python and Rust to build our t
3.
▲
by
lochsh
4y ago
Oxford Ionics | Senior Software Engineer | UK hybrid up to 4 days remote/1 day in office | Full time Oxford Ionics are a quantum computing start-up building trapped-ion quantum computers. We're using Python and Rust to build our t
4.
▲
by
lochsh
5y ago
Oxford Ionics | Embedded Software Engineers and Compiler Engineers | Full Time | ONSITE, HYBRID (Oxford, UK) | Quantum computing Oxford Ionics is a small quantum computing start-up in Oxford, UK. We're looking for smart, motivated soft
5.
▲
Designing a RISC-V CPU, Part 2: Successfully executing (some) instructions
(mcla.ug)
3 points
by
lochsh
6y ago
|
0 comments
6.
▲
by
lochsh
6y ago
I've had this recommended and it looks v promising! https://vivonomicon.com/2020/04/14/learning-fpga-design-with... Someone above has mentioned Robert Baruch too: https://github.com/Rober
7.
▲
by
lochsh
6y ago
I'm hoping to write part 2 this weekend or next week -- I realise anyone knowledgeable of logic design won't be super excited by this first installment. It's intended mostly for people who are new like me! I look forward to w
8.
▲
by
lochsh
6y ago
I'm hoping to talk about this in the next installment where I actually talk about the design. It's been really interesting getting a feel for how the processes are different. It's something I've been aware of before from
9.
▲
Let's break CPython together, for fun and mischief
(mcla.ug)
2 points
by
lochsh
6y ago
|
0 comments
10.
▲
Designing a RISC-V CPU, Part 1: Learning hardware design as a software engineer
(mcla.ug)
150 points
by
lochsh
6y ago
|
31 comments
11.
▲
by
lochsh
6y ago
Thanks for bringing up variance -- this is a concept I've since learned about and have added a small update to the blog post about. I understand your point about the `children_as_parents` example, I've added another update to poin
12.
▲
Why can't I pass std:vector<Child*> as std:vector<Parent*>?
(mcla.ug)
2 points
by
lochsh
6y ago
|
2 comments
13.
▲
Emulating an STM32F4 in QEMU to test ARM assembly
(mcla.ug)
2 points
by
lochsh
6y ago
|
0 comments
14.
▲
by
lochsh
6y ago
I think it's worth noting that there are multiple I2C peripherals by ST -- one for STM32F1, F4, and L1; and a different one used for STM32F0, F3, F7, L0, and L4.
15.
▲
by
lochsh
6y ago
I'm not sure I do have suggestions for such resources sadly :( If anyone has any please drop them here!
16.
▲
by
lochsh
6y ago
I love getting compliments on my site design, thanks very much.
17.
▲
by
lochsh
6y ago
Thank you for the compliment ^_^ I'm glad you found the post helpful. This isn't a typo, actually. If you look at the documentation of the BSRR register (which is screenshotted in the blog post), it says of BRy: > These bits ar
18.
▲
by
lochsh
6y ago
This is lovely to hear, I'm so glad it was helpful!
19.
▲
by
lochsh
6y ago
Yes, probably! But you can do it yourself without one. Here is an example in C using libopencm3, that uses timers to trigger an interrupt used to flash LEDs https://github.com/libopencm3/libopencm3-examples/tree&#x
20.
▲
by
lochsh
6y ago
You don't need an OS to do more advanced or efficient sleeping. You could have one of the timer peripherals generate an interrupt on a regular basis, and then put the chip in a lower power sleep mode in between interrupts.
21.
▲
by
lochsh
6y ago
Oh actually I was being sleepy and hadn't understood what you'd said! I hadn't realised you could do that actually, neat, thanks! So you could do `mov r1, #0x01000000` right? nice.
22.
▲
by
lochsh
6y ago
This is true! If I was writing something to be optimal speed- and size-wise, I'd do that. I think I just liked the consistency with the other parts of the code where using both was necessary :)
23.
▲
by
lochsh
6y ago
I don't have experience with this, but from talking to people who do, there are indeed open source implementations. They say the documentation is a bit confusing, but it does describe everything. This Rust library is an abstract USB li
24.
▲
How to flash an LED: writing ARM assembly for an STM32 microcontroller
(mcla.ug)
122 points
by
lochsh
6y ago
|
65 comments
25.
▲
How to flash an LED: writing ARM assembly for an STM32 microcontroller
(mcla.ug)
3 points
by
lochsh
6y ago
|
0 comments
26.
▲
Breaking CPython for Fun and Mischief
(mcla.ug)
4 points
by
lochsh
7y ago
|
0 comments
27.
▲
Breaking CPython for Fun and Mischief
(mcla.ug)
1 points
by
lochsh
7y ago
|
0 comments
28.
▲
C++20 concepts are not like Rust traits
(mcla.ug)
4 points
by
lochsh
7y ago
|
0 comments
29.
▲
by
lochsh
7y ago
I've made some updates to the blog post based on feedback -- thank you everyone who pointed out mistakes helpfully :) I've made the updates clear, and linked to the archived version of the original post.
30.
▲
by
lochsh
7y ago
you're right, I messed up here. I'm working on some updates to the blog post based on feedback.
More ›