Anonymous
most servers use linux
Manuele
So faster that the new version of vulkan is only a syntax that get compiled to directx shaders...
Talula
what ever happened to even windows embedded?
It sucks... I know... I don't even like Windows... but it's the most used Client based OS in the world... I can't help it.
Anonymous
most embedded systems use RTOS
Anonymous
pc are personal computer
Roxif位sz 馃嚤馃嚬
Yes they are
Give me legitimate reasons for that, opengl being hard to program or having worse performance that D3D are not legitimate reasons
Anonymous
so not embedded 😜
Anonymous
It sucks... I know... I don't even like Windows... but it's the most used Client based OS in the world... I can't help it.
and i am saying if we take into account all the different OSes out there we would have to say a RTOS is the most common one
Anonymous
hell there are probably about as many phones as there are computers that run windows
Roxif位sz 馃嚤馃嚬
So you said 2 reason to not use something, what do you need more?
They are shit reasons, because all GPU programming this close to the metal is hard, and D3D is not universal
Anonymous
and phones use android or ios or a different os of some kind
Talula
I don't go with RTOS for many microcontrollers from Microchip
Anonymous
Not all microcontrollers use RTOS...
however a large portion do because of the fact it is hard to write threads by yourself
Anonymous
I don't go with RTOS for many microcontrollers from Microchip
i thought you said you used ARM and ESP? not PIC devices
Anonymous
because with PIC you need more ASM then with arm or esp
Talula
i thought you said you used ARM and ESP? not PIC devices
Sometimes I have to, I even have to use basic stuff like ATMega32U4... sometimes..
Anonymous
for error handling the hardfaults and so on
Anonymous
as far as I know windows-gui are bloated into kernel
Talula
because with PIC you need more ASM then with arm or esp
No you don't need any ASM you can program everything in C.
Roxif位sz 馃嚤馃嚬
as far as I know windows-gui are bloated into kernel
Kek, they used to render their scrollbars in the kernel lmao
Talula
this is a baby toy
Yes... but sometimes when the boards are small I have to use it or even PIC18F26K22.
Manuele
They are shit reasons, because all GPU programming this close to the metal is hard, and D3D is not universal
There are already HALs made to support different gpus and also HALs made by game engines or visual layers, we don't need another one
Talula
you literally cannot
I have never used ASM with PIC EVER...
Manuele
No you don't need any ASM you can program everything in C.
Not true for kernels. A tiny bit of code must be asm
Anonymous
infact
Talula
Not true for kernels. A tiny bit of code must be asm
Sorry... I don't have to, never had to, the compiler I use takes care of everything... CCS C
Roxif位sz 馃嚤馃嚬
There are already HALs made to support different gpus and also HALs made by game engines or visual layers, we don't need another one
Game engines build on top of opengl/vulkan/D3D, there is no other way, because these are the only ways provided by the GPU manufacturers
Anonymous
and also if you want crack a sw XD
Anonymous
i want to see this code
Talula
I know 8086 ASM but I don't even know the ASM for PIC.
Anonymous
i don't know asm unfortunately
Manuele
Game engines build on top of opengl/vulkan/D3D, there is no other way, because these are the only ways provided by the GPU manufacturers
Exactly, they are build on top, they already have they abstraction, we don't need more abstraction
Talula
i want to see this code
Loading global interrupt?
Talula
Sure let me give you the code for that in C
Anonymous
I have never used ASM with PIC EVER...
my first fucking job with a PIC required asm due to the fact that i had to implement interrupts myself and i needed to use the shadow registers and push all the register values into a persistant location in the stack
Anonymous
loading a gdt table
Anonymous
into the intel x86_64 cpu
Anonymous
Loading global interrupt?
also for the bootloader
Anonymous
technically an x86 has a gdt table
Roxif位sz 馃嚤馃嚬
Exactly, they are build on top, they already have they abstraction, we don't need more abstraction
That still doesn't prove that opengl is shit, because opengl is at the lowest layer of abstractions and it has the advantages of cross-platform support
Talula
into the intel x86_64 cpu
Why do I wanna do that?
Anonymous
Why do I wanna do that?
for making an operating system that has hardware multitasking for the intel x86_64
Talula
for making an operating system that has hardware multitasking for the intel x86_64
I don't make OS and I don't work for Microsoft or Apple to do that...
Talula
How many people do that?
Anonymous
I don't make OS and I don't work for Microsoft or Apple to do that...
i do not work for either company i still need to make OSes for different jobs
Talula
And we are talking about PIC and ARM not about Intel...
Anonymous
How many people do that?
robotics engineers should be able to make their own RTOS at least
Anonymous
if not they are shitty engineers
Talula
If you want to make a wheel over and over again that is your choice...
Anonymous
Anonymous
If you want to make a wheel over and over again that is your choice...
there are times when you HAVE to, most companies will even prefer you do if you have the time
Talula
Every person should be able to do whatever is needed to make their system work efficently... that is it...
Anonymous
because this way you can confirm yes i do fully understand the way this works
Anonymous
and i know how to use this effectively now
Talula
because this way you can confirm yes i do fully understand the way this works
I'm sorry I have been working for 7 years in this company and in 7 years I have made like 100s of programs for embedded systems and not once my company asked me "Can you make an OS"?
Anonymous
Every person should be able to do whatever is needed to make their system work efficently... that is it...
yes and this also means being able to create lightweight multitasking by hand instead of relying on a RTOS
Talula
What do you mean by "Multitasking"?
Anonymous
What do you mean by "Multitasking"?
having multiple tasks running at once
Anonymous
for example the ESP typically has 2 cores
Talula
For what? So you can run Excel and word on Embedded system?
Talula
Yes there are 2 versions ESP8266 with single core and ESP32 with 2 core...
Talula
We can program both cores to do a task in Arduino C++ using Arduino Libraries...
Anonymous
For what? So you can run Excel and word on Embedded system?
no so you can do several tasks for example: SENT protocol RS 485 protocol for gathering information and a CAN protocol and PWM driver
Anonymous
there that is 4 different tasks that is quite common for motor drivering applications
Talula
Everything is event based... I don't have to loop and see if something is working or not.
Talula
Everything is interrupt based... why should I made "Multitasking" anything?
Anonymous
We can program both cores to do a task in Arduino C++ using Arduino Libraries...
if you are using arduino i seriously doubt you were working for 7+ years at that company
Talula
Even Inputs are based on events.
Anonymous
Everything is interrupt based... why should I made "Multitasking" anything?
interrupts are slow and cause issues in microcontrollers that is why most engineers tend to NOT USE THEM
Talula
interrupts are slow and cause issues in microcontrollers that is why most engineers tend to NOT USE THEM
Wow that is news to me... Interrupts are slow? How come these are first thing to know if an event happened and they are slow?
Anonymous
Wow that is news to me... Interrupts are slow? How come these are first thing to know if an event happened and they are slow?
ok say i have 2 interrupts and one has a higher priority it triggers and now i do not hear about this second interrupt
Talula
So you think 10 cycles to check if something is on buffer is faster than interrupt?
Anonymous
and say the first interrupt goes on for over 100 ticks