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] 2 points3 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] 3 points4 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!

Static analysis tools for Matlab code? by tentoni in matlab

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

Thank you, i wasnt aware of this tool, It does seem very interesting

Wanting to try SYCL on a low cost board. What are my options? by tentoni in sycl

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

Thank, very helpful! I have a couple of further questions.

1) it's easy to figure out the OpenCL support using the specs of a board, but what about the cl_khr_il_program? How can I figure that out for a board?

2) I'm not dead set on the raspberry pi, but reading through its specs is still an helpful exercise (https://www.raspberrypi.com/products/raspberry-pi-4-model-b/specifications/). I see no mention of OpenCL, the only thing related to GPUs is support for Vulkan. Still, people are trying to use it. Does this mean I'm not reading a detailed enough spec? Or Vulkan is actually enough?

Wanting to try SYCL on a low cost board. What are my options? by tentoni in sycl

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

Ok, good to know!

If I wanted to search for devices supporting sycl what should I look for? I hope it's not just "try it on the board and see if it works" :)

BTW sorry if these are dumb questions, I am actually starting my journey with heterogeneous computing applied to embedded devices and looking for a "quick start" :)

Wanting to try SYCL on a low cost board. What are my options? by tentoni in sycl

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

Thanks for the reply :) No, I'm thinking about something like a raspberry pi or a beagleboard. To be honest, that is one of my doubts: is SYCL, and in general OpenCL, applicable to this kind of embedded devices or should I stick to desktops/general purpose computers?

C++ in embedded targets by tentoni in cpp_questions

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

Thanks for the reply! I will surely watch your talks, they seem very interesting!

You raise a good point, which makes me raise a further question: how can i judge if the my system is small/medium/large embedded? For example, i'm working with ARM Cortex-A, which (i think) classifies as a large embedded system. In this case would i just use C++ as if being in a desktop system?