4 ms·
Yes, and it's cool, but not as awesome as the demos make it seem. There are basically three major downsides: 1) It's another at least $399 x 2 as a single dev
by shadowmint 14y ago
Yes, and it's cool, but not as awesome as the demos make it seem.
There are basically three major downsides:
1) It's another at least $399 x 2 as a single developer to use (but you can develop against it for free and only buy the license when you want to deploy). Professional licenses are more expensive than that.
2) The runtime can take a long time to load. 3-5 seconds for some apps. You can create a splash screen to mitigate this, but it's a *t experience when you do an a/b comparison on a native app and a mono app (this time is basically while it loads the runtime).
3) 3rd party library support sucks. It just doesn't really exist; if you're used to pulling nunit, ninject, shouldly, nhibernate, nsubstitute, etc. into your project, forget it. A handful of libraries have been ported to the touch and android runtimes, but most of things you'll look at either won't work or you'll have to recompile manually (to be fair there are a fair few that are easy drop ins; Dapper works like a charm for example).
That said, you get some pretty cool stuff: you can separate your core application logic, including database access into its own library and share the code between your various projects. Fix once, fix everywhere.
You can have common unit tests that you can run on a non-windows server.
It's vastly more productive (than writing two code bases in objective c and java).
You can develop without using visual studio~ <3 (some people see this as a downside; it's not to me. VS2010 is rubbish as far as I'm concerned; it crashes, freezes, loses my work all of the time. For all that I love resharper, I'll take monodevelop in a second thanks).
Overall; if you can afford it, do it.
- danabramov 14y agoYou said Dapper works on MonoTouch—did you make any changes to it? I've read[1] there are quite a few problems with it so I had to choose Sqlite over it. I also found this[2], not sure if it helps. What's your experience with Dapper/MT? [1]: http://stackoverflow.com/questions/8223837/using-dapper-in-monotouch http://stackoverflow.com/questions/8223837/using-dapper-in-m... [2]: https://gist.github.com/1115206 https://gist.github.com/1115206