Live data from Hacker News

Your C# App on 66 Million Macs: Announcing Xamarin.Mac

blog.xamarin.com

71–80 of 149 posts

Re: Your C# App on 66 Million Macs: Announcing Xamarin.Mac

#71

C#'s okay and all... But what's wrong with Objective C?

Managed languages are designed with a different set of goals than unmanaged languages. C#'s design goals were in general to reduce the number of bugs, help developers write better code, and maintain the code over the long term.

It has evolved over the years to also adopt new programming techniques that have proved to be useful (generics, iterators, functional constructs, delayed-execution frameworks, Async programming features and dynamic features).

But the idea is that you start with a safe environment that is relatively fast, close to C, but where the goal is not maximum speed, but increased productivity, fewer bugs.

Then you try to optimize things to get closer to the performance of a native C compiler. For some things, you can get there, for some others you can not do it.

So it leads to a different style of programming, you spend less time thinking about book-keeping, about making sure that you did not free the same buffer twice, ownership rules and so on, and you can focus more on the problem at hand. In day-to-day life, you spend less time tracking down production bugs.

It is not a silver bullet, and wont fix every problem, and you still need to do careful bookkeeping of other things (like, did you load too many images?) but at least you can ignore the grueling minutiae and focus on what matters most.

It is a little bit like the difference between using raw OpenGL and loading your vertices manually every time or using a toolkit that loads meshes and textures for you.

Re: Your C# App on 66 Million Macs: Announcing Xamarin.Mac

#72
I downloaded the trial and tried to create a Xmarin.Mac.Project and I got an error that I need to buy the software.

Did I choose the wrong option? If so, which one should I be testing? Why can't I test out all features of the tool?

Also, I agree with everyone else that the price point being $399 is way too high for personal development. Would it be possible to get something cheaper for personal development to see if it's actually useful for my needs?

Re: Your C# App on 66 Million Macs: Announcing Xamarin.Mac

#73

Looks nice, but as with MonoTouch the pricing kills it for me. While I'm sure it pays for itself in overall value if you actually ship a product with it, attaching a price that high to a development tool causes (IMO) all sorts of secondary effects like balkanized user community, inability to realistically use it for writing open source software that anyone will collaborate on, etc. If the product cost more like $99 i…

I'd have thought something more like the old Qt license tiering would make sense - a GPL version that can only be used to develop GPL apps and a commercially licensed version if you want to sell anything.

Re: Your C# App on 66 Million Macs: Announcing Xamarin.Mac

#74
post #2

This might be the final blow to Java on the desktop.

If Java is a terrible language and horribly designed then why do people still use it?

Modern HotSpot is probably one of the best VMs out there; while you could certainly argue that the language isn't wonderful, the VM is superb, and a lot of the tools are excellent.

Re: Your C# App on 66 Million Macs: Announcing Xamarin.Mac

#75

Earlier quoted context omitted.

$1,000 seems pretty meager to me. If I can share well over 50% of my code across multiple platforms then that is code that I don't have to rewrite in another language. If that 50% takes more than 10 hours to reproduce (allocating my time at $100.00/hr) then it is well worth the expense. That doesn't even factor in the time saved in maintaining the application going forward. Granted, if you are just building a small a…

I think it's more important that it's prohibitive to play around with it or produce open source software.

But you can download it and play around with it for free.

Re: Your C# App on 66 Million Macs: Announcing Xamarin.Mac

#76
post #61

I'm huge fan of Xamarin but somehow missing how is this different from MonoMac? For anyone who is thinking to start development of cross-platform GUI app in .NET, I encourage to check Eto project - https://github.com/picoe/eto

A few diferences:

1. Xamarin.Mac comes with a commercial license, so you can ship to the Mac App Store (not allowed under MonoMac's LGPL license).

2. Xamarin.Mac comes with commercial support.

3. Xamarin.Mac includes bindings for several new APIs, including CoreBluetooth, GameKit, StoreKit, SceneKit, and the new Mountain Lion AppKit classes.

You can see a full list of differences here: http://docs.xamarin.com/mac/guides

Re: Your C# App on 66 Million Macs: Announcing Xamarin.Mac

#77
post #44

Looks nice, but as with MonoTouch the pricing kills it for me. While I'm sure it pays for itself in overall value if you actually ship a product with it, attaching a price that high to a development tool causes (IMO) all sorts of secondary effects like balkanized user community, inability to realistically use it for writing open source software that anyone will collaborate on, etc. If the product cost more like $99 i…

I used MonoTouch at work (where price was not an issue) to convert an existing project to iOS. Aside from some minor complaints about the editor, the experience was amazing. I had previously written a couple of iOS apps using the "native" toolset, and I would not go back if I had the choice. While I understand your pain (I would gladly fork over $100 as a lone developer/hobbyist for personal development, but can't ha…

Can you go into some issues with the editor?

Re: Your C# App on 66 Million Macs: Announcing Xamarin.Mac

#78
post #73

Looks nice, but as with MonoTouch the pricing kills it for me. While I'm sure it pays for itself in overall value if you actually ship a product with it, attaching a price that high to a development tool causes (IMO) all sorts of secondary effects like balkanized user community, inability to realistically use it for writing open source software that anyone will collaborate on, etc. If the product cost more like $99 i…

I'd have thought something more like the old Qt license tiering would make sense - a GPL version that can only be used to develop GPL apps and a commercially licensed version if you want to sell anything.

The app store does not allow GPL'd apps.

Re: Your C# App on 66 Million Macs: Announcing Xamarin.Mac

#79

Earlier quoted context omitted.

If Java is a terrible language and horribly designed then why do people still use it?

1) Great built-in library 2) great third party libraries, 3) decent documentation and tons of books and instructional material, 4) best-in-class virtual machine, good GC, as speedy as you get with managed code, 5) tons of profilers and development tools 6) several industry leading tools written in it (Hadoop, Lucene/Solr, Hbase, etc) and for it (IDEA, Eclipse), 7) Enterprise support from big companies (Sun, now Oracl…

With all of these pluses, it can't be that terrible right? ;)

Java is not anymore terrible than anything else when you remember to use the right tool for the right job. I have developed in Java, libraries (JDK's and third party) are just incredibly good, you will not find the same variety and quality anywhere else, period. The language is verbose and also /insert favorite Java complaints here/. So what? Get over it and use the right tool for the right job. We are programmers, not damsels.

Re: Your C# App on 66 Million Macs: Announcing Xamarin.Mac

#80

Looks nice, but as with MonoTouch the pricing kills it for me. While I'm sure it pays for itself in overall value if you actually ship a product with it, attaching a price that high to a development tool causes (IMO) all sorts of secondary effects like balkanized user community, inability to realistically use it for writing open source software that anyone will collaborate on, etc. If the product cost more like $99 i…

As a hobbyist, you could always use MonoMac. It is still free and you may have to wrap the StoreKit APIs yourself.
Post reply on HN