Is cocoa in XCODE a good programming language for creating finite element programs

Hi,

I used DELPHI (Pascal language) in windows world for building softwares using large matrices and numerous calculations solvind differential equations. These softwares worked well.

Now I would like to enter to the Apple world with my macbook.

Many people said that I had to use XCODE.

But in XCODE, there are many languages.

I found that I could use C++ in XCODE but, maybe, without input and output forms where to show results tables and graphs.

Do you think that COCOA can be the solution ?

Does it provides compiled programs with fast execution ?

If not, can you help me to choose the best solution of an IDE and fast programming language ?


Thank you in advance,

Best regards,

Alfred

Accepted Answer

To develop on Mac, XCode is certainly the way to go.


Then, you can select your language : Swift or objC.

If you are accustomed with Pascal, I would recommend Swift. And you can also include C++ code inside if you need to reuse.

As for speed, you will see when testing ; It is really possible to get very fast in Swift (depends largely on software design, not only language) ; and you can write optimized functions for large array handling.


Cocoa is the framework to manage all the display ; it can be used from Swift or objC. It provides you with all the API to manage user interaction.

Thank you a lot Claude 31.

Alfred

Is cocoa in XCODE a good programming language for creating finite element programs
 
 
Q