Swift : زبان برنامه‌نویسی جديد اپل با تمرکز بر سرعت و سهولت استفاده

Apple-Swift

شرکت اپل چیزی قریب به بیست سال از زبان شی‌گرای C به عنوان زبان برنامه‌نویسی در تولید محصولات نرم‌افزاری خود بهره برده است اما امروز و در کنفرانس سالانه توسعه‌دهندگان، این شرکت از زبان جدیدی به نام Swift ساخته و بومی‌شده اپل رونمایی کرد.

شرکت اپل این زبان برنامه‌نویسی را زبان شی‌گرایی قوی توصیف کرده که ساخت برنامه در آن بسیار سریع‌تر و روان‌تر انجام خواهد گرفت. این زبان برنامه‌نویسی، رویه تولید برنامه‌های جدید را ساده‌تر خواهد کرد و به طرق مختلف به کمک توسعه‌دهندگان نرم‌افزاری خواهد آمد. یکی از قابلیت‌های جالب به نام Playground می‌تواند تصویری بصری از برنامه تولیدی به توسعه‌دهنده بدهد.

به عنوان مثال، تیم کوک دمویی از تصویرسازی پرواز و مسیر هواپیما در یک بازی را به حضار نشان داد که از طریق این برنامه و به صورت آنی آماده شده بود. اگر شما نیز به دانستن جزئیات بیشتر درباره این زبان علاقمند شده‌اید می‌توانید با مراجعه به این لینک، اطلاعات بیشتری از آن کسب کنید.

منبع : engadget

 

Apple’s Swift is a new programming language with a focus on speed and ease of use

Apple’s used Objective-C as its programming language of choice for right around 20 years now, but it’s brought something new to its yearly developer conference: Swift, a new tongue of its own making. Apple describes its new lingua franca as “Objective-C without the C,” but it keeps (and improves on) the speed of its progenitors. Even if you don’t know what those terms mean, it’s easy to pick up that apps iOS and OS X developers build with Swift should run even smoother and faster than counterparts made with the Objective-C language they’ve been using. According to the folks from Cupertino, Swift can be used to craft anything from social networking apps to 3D games.

The proverbial baby isn’t going out with the bath water, however, as Swift code can run alongside Objective-C and C in the same application. Swift may also make life easier for developers in a number of ways, one of which is a “playground” feature that provides a preview of what’s being programmed. For example, Cook and co. demoed how a developer could visualize a flight path of an in-game blimp (in real time, no less) just by tweaking a few lines of code.

If you’re raring to get into the nitty-gritty of the language, you can read up on its finer points thanks to a free e-book Apple’s just released. Developers itching to get their hands dirty with Swift can download the XCode 6 Beta and get coding. However, submitting an app written with Swift to the App Store will have to wait until iOS 8 and OS X Yosemite arrive this fall.

 

پاسخ بدهید

وارد کردن نام و ایمیل اجباری است | در سایت ثبت نام کنید یا وارد شوید و بدون وارد کردن مشخصات نظر خود را ثبت کنید *

*