TE
科技回声
首页24小时热榜最新最佳问答展示工作
GitHubTwitter
首页

科技回声

基于 Next.js 构建的科技新闻平台,提供全球科技新闻和讨论内容。

GitHubTwitter

首页

首页最新最佳问答展示工作

资源链接

HackerNews API原版 HackerNewsNext.js

© 2025 科技回声. 版权所有。

Ask HN: frameworks vs native apps

10 点作者 crisedward超过 12 年前
I been told by my boss to use a framework named Xamarin's MonoTouch (http://xamarin.com/), I don't want to use it, anyone has good reasons to not use it instead of native apps (that is licensed and on C# doesn't count) Edit: added framework name

7 条评论

emmett超过 12 年前
This is the opposite of how you should approach the problem in my mind. Why don't you want to use the framework? There must be some reason.
评论 #4435503 未加载
mooreds超过 12 年前
Good reasons not to use it:<p>* you are only interested in developing for one platform--ios.<p>* you have obj c and any other language talent in house, but don't have c# talent<p>* you need to use tons of custom native libraries that the framework doesn't have bindings for<p>* you want to avoid vendor lockin
评论 #4435567 未加载
gte910h超过 12 年前
It is going to allow you to use slightly more familiar syntax<p>You're still going to have to learn and use all the libraries in your iPhone app in ObjC<p>If you have crushing large amounts of business logic, you might see gains
gexla超过 12 年前
List of limitations.<p><a href="http://docs.xamarin.com/ios/about/limitations" rel="nofollow">http://docs.xamarin.com/ios/about/limitations</a>
评论 #4435248 未加载
yamalight超过 12 年前
well, monotouch is a really nice framework. but, speaking about downsides, you'll need to spend time on writing custom objc bindings if you would want to use something that is not bound yet (e.g. custom library). and that can take quite some time. other than that - it's quite the same as native (may be a tiny-tiny bit slower)
评论 #4436078 未加载
评论 #4435136 未加载
bluesign超过 12 年前
Actually if you cannot find "good reasons to not use it" by yourself, usually it is better to "use it"
评论 #4437419 未加载
PythonDeveloper超过 12 年前
MonoTouch is what you're referring to, and it has its pros and cons. Pros are, one app can be published on multiple platforms with little to no change.<p>Minuses, it's expensive and you have to wait for access to new features until they've been released by Xamarin.<p>Writing an app for iPhone using this is easily 2x faster than learning and then writing it in Objective C. It does generate a "native" app, for what it's worth.<p>Sounds like you just need to get past your dislike of C#, and your boss sounds like a pretty smart person ;-)<p>(disclosure : I'm not his boss)