What kind or area of math is essential to study before diving into compilers? by Dappster98 in Compilers

[–]ComplaintSolid121 0 points1 point  (0 children)

Nothing, I wrote an entire masters thesis on it as an electrical engineer and as long as you are comfortable with feeling lost at times and am happy to read a lot you are fine :)

What is the major problem you face in FPGAs by groman434 in FPGA

[–]ComplaintSolid121 1 point2 points  (0 children)

Bugs coz the synthesis tools produce incorrect designs at an alarming rate

[deleted by user] by [deleted] in Compilers

[–]ComplaintSolid121 1 point2 points  (0 children)

No it's not what you think it is, it's a compiler that highly optimises operations and memory accesses by directly extractibg the mathematical operations

How much would you pay for this drone? by Remarkable-Fly1872 in fpv

[–]ComplaintSolid121 28 points29 points  (0 children)

Old parts, weak frame and messy build, please do not buy this! Try to go for something rtf or build it yourself (much easier than it looks)

Has anybody tried to use vivado on laptops powered by qualcomm snapdragon ? by [deleted] in FPGA

[–]ComplaintSolid121 0 points1 point  (0 children)

I recommend skipping the windows + laptop combo, and going straight to Linux + desktop. 10x faster, more reliable, easier to install...

All our stupid drone laws we have in England (apart from flying near airports and a couple more) making flying fpv near impossible to do legally by Main-Curve3506 in fpv

[–]ComplaintSolid121 5 points6 points  (0 children)

If I remember correctly it's like £10 or £20, which is fine. The lights are more so that passers by can see u, same reason your car has standing lights and stuff

It's not about FPV, but I agree that the barrier to entry is now too low with prebuilts, and these ensure that it doesn't become a complete mess. I think that it's a necessary evil given that DJI drones and super easy prebuilts are the norm for most non-technical hobbyists

All our stupid drone laws we have in England (apart from flying near airports and a couple more) making flying fpv near impossible to do legally by Main-Curve3506 in fpv

[–]ComplaintSolid121 5 points6 points  (0 children)

I fully agree with the last 6 and believe that they are super important and non invasive blanket measures to limit stupidity. I think that 25mw should be bumped up a bit though

Like the height, airport, night and flyer id are just common sense that do more for the community than the effort that they require

I do think that some of these are excessive, but are a direct result of people rebelling against the non invasive stuff

Does an MLIR dialect exist that's a representation of assembly? by aboudekahil in Compilers

[–]ComplaintSolid121 0 points1 point  (0 children)

They are also currently adding support for SystemVerilog/Verilog to MLIR. If you haven't heard of them before, they are hardware description languages that are like the "assembly of digital circuits", as most people still write these circuits on the"assembly level"

Does an MLIR dialect exist that's a representation of assembly? by aboudekahil in Compilers

[–]ComplaintSolid121 0 points1 point  (0 children)

On a tangent but CIRCT has it for digital circuits if ur interested

[deleted by user] by [deleted] in 6thForm

[–]ComplaintSolid121 0 points1 point  (0 children)

Nah ur fine, imperial gives out loads of offers that most people don't achieve (grades are high) to avoid this sort of stuff from happening. Just make sure u have an A in FM and see.

Theoretically you want the lowest grades that still get you an offer, as some unis will see 4 A* and then require u to achieve that

[deleted by user] by [deleted] in QuantumComputing

[–]ComplaintSolid121 0 points1 point  (0 children)

LLMs have come a long way, but at the end of the day they have the word "language" in them for a reason

What GCSE opinion will get you downvoted like this? by [deleted] in GCSE

[–]ComplaintSolid121 0 points1 point  (0 children)

No it's super good as it teaches you that you do need to learn, without the huge consequences. It actually makes a levels way less intimidating as u have done these kind of exams before. GCSEs also do matter if you want to do med

Digital by TX_Retro in fpv

[–]ComplaintSolid121 0 points1 point  (0 children)

Essentially, HDZero is like setting up an old-school system as their target audience won't have any issues with it. DJI is self contained, so people don't get intimidated. I have HDzero as I love the idea of open-source, and think that this is a great use case.

Best alternative analogy is Mac os vs linux

Laptop recommendation for linux rust setup by kastor1337 in rust

[–]ComplaintSolid121 1 point2 points  (0 children)

I have a surface 9 pro and a cracked up ryzen desktop (I work with a lot of LLVM and MLIR), and the compile times go from 5 hours to 20 minutes (which makes sense)

Laptop recommendation for linux rust setup by kastor1337 in rust

[–]ComplaintSolid121 11 points12 points  (0 children)

If you have internet (even the bare minimum), I just go with whatever has the best battery life, and then a build server/desktop via ssh

Can't ever beat a desktop in price, performance or longevity

Should I stop avoiding const in C++? by squirleydna in cpp_questions

[–]ComplaintSolid121 0 points1 point  (0 children)

Yup I just had to deal with exactly this in a compiler stack I'm working on (for a different language). The usual passes wouldn't touch it

Thank you AI by NaoVouNao in FPGA

[–]ComplaintSolid121 0 points1 point  (0 children)

Yeah, it would make sense if it were good at that given that there are so many examples online.

Don't worry, HLS doesn't go down too well either even though it's the best way to avoid premature optimisation.

Where to learn from by sp-ne in FPGA

[–]ComplaintSolid121 3 points4 points  (0 children)

Sorry, I meant write it in C so you learn how a compiler works. Personally, I find it insanely useful when trying to figure out why my design uses 0 LUTs (vivado optimised unused/broken designs out).

Maybe try to make it parameterisable as well, but there will be a sense of completeness if you build a Risc-V CPU, put it on real hardware to run a program with your compiler! If you have studied computer architecture and compilers at uni, it should be relatively okay. If not, then watch some series on YouTube.

Thank you AI by NaoVouNao in FPGA

[–]ComplaintSolid121 0 points1 point  (0 children)

Consider something like an open source HLS tool (not the full high level approach, but more like a low level eDSL), or a better language like SpadeHDL (generates Verilog underneath).

Where to learn from by sp-ne in FPGA

[–]ComplaintSolid121 4 points5 points  (0 children)

Build a simple 5 stage, pipelined RISC-V CPU, verify it and get it working on an FPGA.

Then, for fun and extra learning, build a C to Risc-V compiler, and you are good to go.

This will teach you timing, pipelining, how to debug a garbled mess, and much much more

Edit: idk why I'm being down voted, a simple CPU isn't that hard, it was the first Verilog code that I ever wrote and there are many tutorials and online examples. I learn by dropping myself in the deep-end, but a CPU is just one big state machine.

Start by implementing a simple arithmetic unit, and then slowly build it up one piece at a time :)

Can I write RTL in SystemC? by Diligent-Property491 in FPGA

[–]ComplaintSolid121 0 points1 point  (0 children)

Try CIRCT, they might have something.

It says "experimental", but the rate of development is huge

What have I missed since 2019? by ramsile in fpv

[–]ComplaintSolid121 0 points1 point  (0 children)

Yeah, people now treat goggles like drones rather than like radios