As it currently stands, this question is not a good fit for our Q&A format. We expect answers to be supported by facts, references, or expertise, but this question will likely solicit debate, arguments, polling, or extended discussion. If you feel that this question can be improved and possibly reopened, visit the help center for guidance.
Closed 10 years ago.
Can I create a custom operating system that supports both Windows and Linux applications?
How can I do that and what knowledge should I have?
Is this a good start?
Thanks.
This can kind of be done though using Linux and Wine however it is not perfect.
The issue is Windows is not open source and is VERY big so it is not very easy to perfectly emulate what that operating system is doing behind the scenes. This is especially hard with undocumented API calls many programs like to use on Windows.
I do not know of anything that lets you run Mac on Linix without using a VM.
It is very unlikely there will ever be "one OS to rule them all" but with tools like Wine and using virtualization with things like VMWare's Unity Mode to give the affect of another OS's program running on your system.
Related
As it currently stands, this question is not a good fit for our Q&A format. We expect answers to be supported by facts, references, or expertise, but this question will likely solicit debate, arguments, polling, or extended discussion. If you feel that this question can be improved and possibly reopened, visit the help center for guidance.
Closed 9 years ago.
I am making the conversion from PC to MAC and wanted to know what options do I have to still develop websites. I usually create websites with c# but besides C# what other options do I have on the macintosh?
MAC is even better environment for development (web) than Windows. It is because it is nix. I used PC for years and I feel more comfortable on MAC. For example you can manually set working environment for PHP (appache, mysql) with ease, and you have more control with everything you do. Mac, by default, comes with installed Python, so you can easily create your web working environment. There is also Ruby etc.
Git + Editor(Textmate, Sublime) + Web = Perfect combination.
I would say that Ruby (Ruby on Rail) is pretty common. You still have PHP, Python too.
If you want some example try CodeCademy or CodeSchool
As it currently stands, this question is not a good fit for our Q&A format. We expect answers to be supported by facts, references, or expertise, but this question will likely solicit debate, arguments, polling, or extended discussion. If you feel that this question can be improved and possibly reopened, visit the help center for guidance.
Closed 10 years ago.
Running X11/GTK programs on mac is quite a pain for me. It looks ugly, and it from time to time acts in weird ways. So I'm wondering what would be the natural choice to port a GTK program to Mac using native GUI frameworks like Cocoa. And by the way, is there any existing effort to manage such portings in a unified repository?
Many parts of the GTK+ are already ported to OS X, see the home page of the GTK+ - OS X. So, in theory, you only have to re-compile your favorite GTK+ app on OS X with the Quartz back end to have it run natively. You mileage of course will vary.
As it currently stands, this question is not a good fit for our Q&A format. We expect answers to be supported by facts, references, or expertise, but this question will likely solicit debate, arguments, polling, or extended discussion. If you feel that this question can be improved and possibly reopened, visit the help center for guidance.
Closed 10 years ago.
I would like to know if its posible to create a desktop application with ruby and the disadvantages,
please can you give me a example? a application to use in windows
thanks
Yes you can, Sir!
The disadvantages are like there might be some difficulties doing advanced stuff for interfaces but I'm just guessing as I have no experience at all in this field.
Take a look at some solutions you have:
http://shoesrb.com
https://github.com/larskanis/fxruby
https://github.com/maccman/bowline (this one I just found it now and seems interesting, BUT it's not maintained anymore :/)
http://macruby.org (for OS X only)
http://www.rubymotion.com (paid and OS X only)
Other I can think of is using Java Swing with JRuby
Also you might want to take a look at this -> http://en.wikibooks.org/wiki/Ruby_Programming/GUI_Toolkit_Modules
As it currently stands, this question is not a good fit for our Q&A format. We expect answers to be supported by facts, references, or expertise, but this question will likely solicit debate, arguments, polling, or extended discussion. If you feel that this question can be improved and possibly reopened, visit the help center for guidance.
Closed 10 years ago.
I have realized I have to study Assembly language to understand programming deeply during trying to implement coroutine.
So I decided to start study Assembly. I want to start this by making small programs with only pure assembly. What's required and where should I start from? Easy Tutorials? Any guidance would be appreciated. Thanks.
PS.
I'm using Mac OS X 10.6 on iMac Core i5 machine.
MIPS is a nice and short instruction set.
Nothing fancy to get in your way.
MIPS Emulators
SPIM was a classic emulator used for years. Some useful info here.
Mars looks promising and runs in java.
As it currently stands, this question is not a good fit for our Q&A format. We expect answers to be supported by facts, references, or expertise, but this question will likely solicit debate, arguments, polling, or extended discussion. If you feel that this question can be improved and possibly reopened, visit the help center for guidance.
Closed 9 years ago.
I've recently began using dTrace and have noticed just how awesome it is. Its the perfect tool for profiling without placing the burden on programmers to set up hundreds of probes in their applications.
I've found some nice one liner and sample scripts here and there, but I was wondering about what scripts, tools and links others might want to share.
BTW Anybody tried Chimes?
Here are some links I've found useful
A Powerpoint presentation about dTrace:
http://www.nbl.fi/~nbl97/solaris/dtrace/dtt_present.pdf
200+ useful scripts:
http://www.brendangregg.com/
I attended Theo Schlossnagle's Full Stack Introspection Crash Course talk at OSCON this year. In that presentation he gives several examples of using the D-Trace language and at the above link there are some additional utilities.
It's worth noting that because of the differences in Apple's and Sun's implementations, dtrace scripts from Solaris may not (likely won't) work on Leopard, and vice-versa. I'm not sure about FreeBSD's version.
The main problem is a different set of probes made available by the OS. Sometimes the probes will be provided under a different name. Sometimes they'll be more or less specific from one OS to another. Just a gotcha in case you come across a script that, for some reason, won't work.
Unfortunately dTrace is only implemented in/for Solaris OS. People from sun are recommend me to port all my php applications to Solaris, and "dtrace" them. After optimizing to again port them on my previous OS.