ProgrammingThis forum is for all programming questions.
The question does not have to be directly related to Linux and any language is fair game.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
I have started learning ARM assembler and I would like to write some project (not so big) to get proficiency in it. My problem is I am not sure what to write. I would like the project to be practical, not only educational, so other people could use it. I've been thinking about developing really fast integer FFT for ARM, but I am not sure whether it is good idea. My doubts are:
- does something like this already exist? If it does, is it free? I emphasize that I mean about integer (fixed-arithmetic) FFT here.
- how much efficiency, if any, can I get writing it entirely in assembler? Can I be better than compiler?
If you think that FFT is not good choice, do you have some other ideas of projects that would be suitable?
Maybe you know about some projects already started where I could train my assembler programming skills participating with?
My experiences with ARM processor compilers are very good, so chances are that compiled C++ code won't be any slower than the one written in assembler.
If your objective is simply to learn assembler coding, then don't worry if your code can't keep up with a compiled version. If you want a project that is practical in nature, then focus on things that are not normally done with compiled languages, such as startup code, some bootloader code, etc. For examples of these, look in the Linux kernel sources.
You probably can be more efficient than a compiler, but your initial versions probably will not be. Compilers are pretty smart these days.
--- rod.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.