Multi-platform "easy" window programming [closed] - user-interface

Closed. This question is opinion-based. It is not currently accepting answers.
Want to improve this question? Update the question so it can be answered with facts and citations by editing this post.
Closed 8 years ago.
Improve this question
i'm thinking about programming a tool that would be useful in windows and mac (as we use those at work) and it's 100% necessary that is inside on a OS window.
The first thing that came to my mind was to use java - as it's cross platform - but, is there any alternative to program cross platform window based programs?
Has anyone tried to use C# windows forms with Mono in other OS's?
I'm interested in a garbage collected language if possible as I don't want to think about possible memory leaks for a tool that can be slower or faster without any trouble.
Also if it's possible to be as easy as it is in visual studio + C# it would be awesome!
Any idea will be appreciated, thanks!

Java is fine if you're comfortable with it.
Many languages have bindings to cross-platform toolkits: for example Python is very pleasant and has PyQt4 or WxPython, both of which can be used to make GUIs which work nicely on Windows or Mac.
In the manage-your-memory world, using Qt from within C++ is actually very pleasant (they have a nice API). I find it creates more elegant applications than my Java code (they feel a tad more native) though YMMV.

Related

Are there any Java/Objective-C skills that are needed in order to write applications using Xamarin [closed]

Closed. This question is opinion-based. It is not currently accepting answers.
Want to improve this question? Update the question so it can be answered with facts and citations by editing this post.
Closed 7 years ago.
Improve this question
Are there any Java/Objective-C skills that are needed in order to write fully featured applications using Xamarin or is it pure C# that compiles into Native without any adjustments needed (UI for example)?
The answer to such question depends on your application needs.
If it's just a standard application without a fancy UI, you can use Xamarin.Forms in which all the UI is written in Xaml.
If you need a more complex UI, you may need to use Renders, which involves a native code (ios/Android) in your app, but still you can write those renders in c#, so your'e not out of C# context, but you will have to know how Android/iOS OS system works, rather than the programming language syntax.
If you have a highly complex UI with interactions, then Forms is not an option, and you can use the traditional Xamarin system, but you'll need to know well how does each platform operates.
Hope it helps you to decide.

Is Visual Basic a very useful Programming Language nowadays? [closed]

Closed. This question is opinion-based. It is not currently accepting answers.
Want to improve this question? Update the question so it can be answered with facts and citations by editing this post.
Closed 8 years ago.
Improve this question
I'm just asking because very big companies such as Apple, Facebook or Electric Arts do not use it. And also I have another question: Is it good to learn Visual Basic or languages such as C, C++, Java, ect?
Thanks.
VB has many different versions and I would say not to bother learning VB6 but VB.Net would be good if you want to stay with VB (though I prefer C#). Just like any programing language the older it is the less a particular version gets used. I have a worked at a few companies that have most products in .Net but still a few legacy apps in VB6.
As for which to learn that is up to you, I recommend figuring out what kind of software you want to write and then learn what language is used the most for that.
There are definitely more jobs for what has become mainstream languages such as C++ or Java. Personally my first exposure to programming was VB and bash, so it really depends on why you want to learn a certain language.

What programming language is prefered for a simple program like this? [closed]

Closed. This question is opinion-based. It is not currently accepting answers.
Want to improve this question? Update the question so it can be answered with facts and citations by editing this post.
Closed 8 years ago.
Improve this question
I'm planning to make a simple program which will basically web scrape and provide that information into a simple gui.
There'll be notification for new info, and a simple database to store history, favorite and such
What programming language is suitable/good for simple task like this? And can you please give a starting point about making the program?
I'm currently only using python, trying to find out how to make the gui. If anyone can give some resources, it'll be super usefull.
It would be best if you pick the programming language you know best.
Since you mentioned Python, you could use PyGTK, wxPython or similar GUI frameworks for Python.
I would personally do it in C# since the GUI designer in Visual Studio is one of the best I've used, but this is entirely up to you.
The choice of language depends on your experience with each language: In C++ it takes time, in Python it might be uncomfortable and in C# it might be hard to get it running on other platforms.
SQLite would be an excellent choice for the database. It is easy to set up and use in any language.
Links:
http://www.wxpython.org/
http://www.pygtk.org/
https://sqlite.org/

What programming languages are installed by default on Windows 7? [closed]

Closed. This question is opinion-based. It is not currently accepting answers.
Want to improve this question? Update the question so it can be answered with facts and citations by editing this post.
Closed 4 years ago.
Improve this question
I was planning on learning a way to create my own programming language and I wanted to know what language to write a compiler with. C? C++?
Windows Vista and newer come with the .NET Framework installed by default. That in turn already provides a compiler for the .NET languages (most notably C# and VB.NET). It's the only provided language you could possibly write an efficient compiler in. Other languages are VBScript and JScript (via windows Scripting Host) and batch files, so nothing you'd really want to implement more complicated stuff in.
Depending on the complexity of the language you want to create, a C++ implementation may provide better performance, though. No offense, but you don't quite make the impression that you really know how to implement a compiler for a new language. Greg Hewgill's link should give you some starting points there. The thing is, creating a new (formal) language is anything but a trivial task. Yes, the tools to do it are free, and so is the knowledge. But you should really already have a solid understanding of the programming language you want to write the compiler or interpreter in before even attempting to do it.
I suggest you use C#; DLR is great for this purpose.

Windows Forms C++ [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
We don’t allow questions seeking recommendations for books, tools, software libraries, and more. You can edit the question so it can be answered with facts and citations.
Closed 7 years ago.
Improve this question
I have just started to learn C++, and I would like to learn how to make Windows Forms C++ applications.
Could anyone recommend some good ebooks?
I have a small converter program that I have made. It runs from the console, but I would like to make a nice GUI for it.
The form is quickly made in Visual Studio, but then I need to insert some code. This is were I got stuck.
I haven't been able to find any tutorial. Well found some, but they used C# or VB.NET.
As jdehaan said, Windows Forms is a .NET component and is not pure C++, it is definitely different. If you need to decide which to use, the book Beginning Visual C++ 2008 was helpful for me, as it teaches C++/CLI and regular Windows C++ forms. I'm not sure how hard this would be to find online.
If you are serious about Windows Forms programming and do not need easy interoperability between native and managed code, I would definitely suggest you just go with learning C#. Visual C++ feels Frankenstein-ish to me, and support is definitely waning in the editor. The managed versions of the languages are so similar that if you are going to learn .NET, C# would be the better choice.

Resources