如果我在Android和swift零售应用程序中使用C ++,有什么限制? [英] What is the limitation if I use C++ in android and swift for retail app?

查看:96
本文介绍了如果我在Android和swift零售应用程序中使用C ++,有什么限制?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

嘿同性恋我想知道如果我在android和swift零售应用程序中使用c ++有什么限制



我尝试过:



i确实知道什么时候使用c ++你们都获得了很高的性能但是我想知道使用它时有什么限制

解决方案

你的问题显示缺乏编程知识,但让我解释一些基础知识。



应用程序在具有操作系统的设备上运行。因此,如果这些应用程序是使用Xamarin等跨平台工具编写的,那么这些应用程序必须针对该平台进行定制。但它的语言是C#,这是一种高级语言(如Swift)。



编程语言的差异不再是性能,而是生产的时间和成本更多软件。大多数语言都有一些低级语言接口。因此,高级语言通常是最好的,因为很多功能都是通过重新发明轮子来快速开发的。这是强大但低级语言C ++的问题。



Swift是Apple世界的新语言 - 但仅限于此。你可以结合使用Swift和C ++或者正确的Objective-C,但是只有当C ++代码被重用或可重用时才有意义。



对于Android你写的Java,看起来很像C +++但不是。


hey gays i want to know what is the limitation if i use c++ in android and swift for retail app

What I have tried:

i did know when use c++ you all gain high performance but i want to know what is the limitation when use it

解决方案

Your question show some lack of knowledge about programming, but let me explain some basics.

Apps are running on devices which have an operating system. So these apps must be tailored for the platform, if they are written with some cross-platform tool like Xamarin. Buts its language is C# which is a high level language (like Swift).

The differences in the programming languages isnt perfomance anymore, but more the time and costs of producing the software. Most languages have some interfaces to lower level languages. So often a high level language is best, because many features are baked into it for speedy development by not reinventing the wheel. That is the problem of the mighty but low level language C++.

Swift is the new language for the Apple universe - but only for it. You can combine Swift and C++ or correctly Objective-C, but it makes not much sense, only when the C++ code is reused or reusable.

For Android you write in Java, which looks a lot like C+++ but isnt.


这篇关于如果我在Android和swift零售应用程序中使用C ++,有什么限制?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆