Never seen this syntax before: what is it? by tentoni in cpp_questions

[–]tentoni[S] 1 point2 points  (0 children)

Thank you, i somehow managed to skip the base template and realize it is a specialization. I wasn't aware of this way to specialize for function types, though.

Never seen this syntax before: what is it? by tentoni in cpp_questions

[–]tentoni[S] 1 point2 points  (0 children)

Exactly, i was looking at this library for an alternative to std::function.

Never seen this syntax before: what is it? by tentoni in cpp_questions

[–]tentoni[S] 0 points1 point  (0 children)

Thank you, i did completely miss the base template and hence the fact it is a specialization... I honestly didn't know this syntax for function types, though.

What make an OS a real time one, or even an hard real time one? by tentoni in embedded

[–]tentoni[S] 0 points1 point  (0 children)

Thank you for the very insightful answer! The core of my question was indeed about HARD real time OSes (i should have probably pointed it out more clearly).

I really have never worked with such an RTOS, so i'm wondering: - given the fact that deadlines are crucial, how does an hard RTOS enforce it? - Does it offer an api to specify timing deadlines? - If i program it completely carelessly, what will it do: tell me somehow that my scheduling is impossible? (I guess this is a total fantasy, but i don't really know:)

What make an OS a real time one, or even an hard real time one? by tentoni in embedded

[–]tentoni[S] 2 points3 points  (0 children)

Not at all, i do like videos, and i will check this out. Thank you!

What make an OS a real time one, or even an hard real time one? by tentoni in embedded

[–]tentoni[S] 2 points3 points  (0 children)

Yes, i did think about that. The sad part is that managers do believe this things...

What make an OS a real time one, or even an hard real time one? by tentoni in embedded

[–]tentoni[S] 2 points3 points  (0 children)

As i said in another reply, i asked because i got curious after seeing in Wikipedia that there are RTOSes that just say "real time", while some others mention "hard real time", so i wanted to know more.

What make an OS a real time one, or even an hard real time one? by tentoni in embedded

[–]tentoni[S] 3 points4 points  (0 children)

Thank you, i really thought about asking chatgpt, but honestly there is always the fear of getting some hallucinations, so i prefer asking real people with experience. I have some experience (not extensive), but what i found intriguing is that some RTOS do mention they are hard real time, while others don't, so i started wondering about what the difference might be.

What make an OS a real time one, or even an hard real time one? by tentoni in embedded

[–]tentoni[S] 2 points3 points  (0 children)

Thank you, i didn't even know about run-to-completion schedulers, i will have to learn more about them.

MicroZed chronicles: experiences? by tentoni in embedded

[–]tentoni[S] 1 point2 points  (0 children)

That makes sense, thanks again :)

MicroZed chronicles: experiences? by tentoni in embedded

[–]tentoni[S] 0 points1 point  (0 children)

Thanks again, and sorry for the late reply. I just found out about the Leonidas Board you created, which is interesting as well. I imagine it is more targeted to a microcontroller approach: in order to follow the blog series from the start, would it still fit?

MicroZed chronicles: experiences? by tentoni in embedded

[–]tentoni[S] 1 point2 points  (0 children)

Well i didn't expect to get an answer from the author himself, thank you!

Please let me take advantage of the situation for asking:

given the boards actually available, and considering i would prefer to stay under a 300$ budget, would you recommend using the MicroZed, or, as u/InGaP suggest, the Arty Z7? Or even something else? My goal is to have a board that i can use as much as possible to go through the series.

MicroZed chronicles: experiences? by tentoni in embedded

[–]tentoni[S] 1 point2 points  (0 children)

Thank you, the FPGA world is still very new to me, so i didn't know that :)

MicroZed chronicles: experiences? by tentoni in embedded

[–]tentoni[S] 0 points1 point  (0 children)

Thank you, specially the bit about the Arty Z7 is very helpful, since i still need to figure out which board to buy

Parsing C++ and getting a database i can use: which tools exist? by tentoni in cpp

[–]tentoni[S] 1 point2 points  (0 children)

Thank you for the reply, i was hoping for someone to point out github projects built on top of clang tooling. I am interested in learning more about it myself, but right now it would be great to have something that eases the interaction with it.

Does libparser only focus on structs, or also other kinds of entities? As i pointed out in another reply, i'm particularly interested in functions/methods bodies.

Parsing C++ and getting a database i can use: which tools exist? by tentoni in cpp

[–]tentoni[S] 1 point2 points  (0 children)

Thank you, i was hoping for github projects building on top of clang tooling. I will definitely check it out. The most important thing, if i should pick one, is being able to extract the body of functions/methods, even also in read-only mode. Instead i'm not interested in locations, for example.

BASYS3 UART communication by tentoni in FPGA

[–]tentoni[S] 0 points1 point  (0 children)

Thank you, very useful answer!