ivanseidel / LinkedList

🔗 A fully implemented LinkedList made to work with general Microcontrollers and Arduino projects
MIT License
347 stars 120 forks source link

Is LinkedList usable outside of the Arduino platform (e.g. in a regular desktop application)? #66

Open divStar opened 1 year ago

divStar commented 1 year ago

Hello! I love LinkedList on my Arduino Zero. I am using it for some sort of "messaging queue" and even if the LinkedList might not be the smartest way to implement such a queue, it currently works really well.

However: in order to be able to create a "desktop application", that can simulate my Arduino-based device, I decoupled all my hardware adapters and I am working on doing so for the Serial port access, too. I also figured, that the LinkedList is meant for use on Arduino.

Hence my question is: would this library compile if I were to e.g. build a desktop application with it?

Sure, it might have some disadvantages over C++'s own implementation, but at least it works on the Arduino device. Would I have to "replace" it in a desktop application (say for MacOS or Windows or Linux)? Or could my application just keep using the LinkedList you provided?