	{"id":4617,"date":"2014-12-06T16:40:48","date_gmt":"2014-12-06T09:40:48","guid":{"rendered":"http:\/\/science-technology.vn\/?p=4617"},"modified":"2014-12-06T16:40:48","modified_gmt":"2014-12-06T09:40:48","slug":"vien-kien-cua-steve-jobs-ve-ngon-ngu-lap-trinh","status":"publish","type":"post","link":"https:\/\/science-technology.vn\/?p=4617","title":{"rendered":"Vi\u1ec5n ki\u1ebfn c\u1ee7a Steve Jobs v\u1ec1 ng\u00f4n ng\u1eef l\u1eadp tr\u00ecnh"},"content":{"rendered":"<p>C\u00f4ng ngh\u1ec7 thay \u0111\u1ed5i nhanh ch\u00f3ng v\u00e0 nhu c\u1ea7u c\u1ee7a c\u00f4ng nghi\u1ec7p \u0111ang thay \u0111\u1ed5i nhanh ch\u00f3ng n\u1eefa. Xu h\u01b0\u1edbng r\u00f5 r\u00e0ng ng\u00e0y nay l\u00e0 trong di \u0111\u1ed9ng v\u1edbi c\u00e1c thi\u1ebft b\u1ecb y t\u1ebf, Internet v\u1ec1 m\u1ecdi th\u1ee9 (IoT), v\u00e0 app di \u0111\u1ed9ng doanh nghi\u1ec7p. Tu\u1ea7n tr\u01b0\u1edbc t\u00f4i \u0111\u00e3 t\u1edbi th\u0103m c\u00f4ng ti Apple \u0111\u1ec3 bi\u1ebft v\u1ec1 ng\u00f4n ng\u1eef l\u1eadp tr\u00ecnh m\u1edbi c\u1ee7a h\u1ecd c\u00f3 t\u00ean Swift.<\/p>\n<p>M\u1ed9t ng\u01b0\u1eddi qu\u1ea3n l\u00ed gi\u1ea3i th\u00edch: \u201cSwift l\u00e0 ng\u00f4n ng\u1eef l\u1eadp tr\u00ecnh m\u1edbi \u0111\u01b0\u1ee3c Apple ph\u00e1t tri\u1ec3n cho iOS v\u00e0 OS X. Trong t\u01b0\u01a1ng lai, m\u1ecdi s\u1ea3n ph\u1ea9m c\u1ee7a Apple s\u1ebd d\u00f9ng Swift thay v\u00ec Objective C. Ch\u00fang t\u00f4i h\u00e1o h\u1ee9c v\u1ec1 ng\u00f4n ng\u1eef n\u00e0y v\u00ec n\u00f3 s\u1ebd l\u00e0 ng\u00f4n ng\u1eef then ch\u1ed1t c\u1ee7a ch\u00fang t\u00f4i cho m\u1ecdi ph\u00e1t tri\u1ec3n t\u01b0\u01a1ng lai. Swift t\u01b0\u01a1ng t\u1ef1 nh\u01b0 Ruby v\u00e0 Python v\u1edbi c\u00fa ph\u00e1p C n\u00e0o \u0111\u00f3 v\u00e0 b\u1ea1n c\u00f3 th\u1ec3 v\u1eabn d\u00f9ng c\u00e1c t\u1ec7p ng\u00f4n ng\u1eef l\u1eadp tr\u00ecnh Objective-C c\u00f9ng m\u00e3 Swift. Trong nhi\u1ec1u n\u0103m, Steve Jobs bao gi\u1edd c\u0169ng mu\u1ed1n t\u1ea1o ra m\u1ed9t ng\u00f4n ng\u1eef l\u1eadp tr\u00ecnh d\u1ec5 h\u1ecdc, \u0111\u1ec3 cho ch\u00fang t\u00f4i c\u00f3 th\u1ec3 \u0111\u00e0o t\u1ea1o nhi\u1ec1u ng\u01b0\u1eddi vi\u1ebft m\u00e3 nhanh. Steve c\u0169ng mu\u1ed1n n\u00f3 nhanh \u0111\u1ec3 cho n\u00f3 c\u00f3 th\u1ec3 \u0111\u01b0\u1ee3c d\u00f9ng trong mi\u1ec1n c\u00f4ng nghi\u1ec7p. Sau v\u00e0i n\u0103m nghi\u00ean c\u1ee9u, ch\u00fang t\u00f4i tin r\u1eb1ng ch\u00fang t\u00f4i \u0111\u00e3 \u0111\u00e1p \u1ee9ng \u0111\u01b0\u1ee3c vi\u1ec5n ki\u1ebfn c\u1ee7a \u00f4ng \u1ea5y.\u201d<\/p>\n<p>M\u1ed9t ng\u01b0\u1eddi qu\u1ea3n l\u00ed kh\u00e1c b\u1ea3o t\u00f4i: \u201cSwift \u0111\u01b0\u1ee3c thi\u1ebft k\u1ebf \u0111\u1ec3 cho b\u1ea5t k\u00ec ng\u01b0\u1eddi n\u00e0o c\u0169ng c\u00f3 th\u1ec3 h\u1ecdc n\u00f3 nhanh ch\u00f3ng, k\u1ec3 c\u1ea3 tr\u1ebb em. \u0110\u00f3 l\u00e0 vi\u1ec5n ki\u1ebfn c\u1ee7a Steve Jobs \u0111\u1ec3 m\u1ecdi ng\u01b0\u1eddi vi\u1ebft \u0111\u01b0\u1ee3c m\u00e3 trong th\u1ebf k\u1ec9 21. Nh\u01b0ng \u00f4ng \u1ea5y nh\u1ea5n m\u1ea1nh r\u1eb1ng n\u00f3 c\u0169ng ph\u1ea3i \u0111\u1ee7 t\u1ed1t \u0111\u1ec3 \u0111\u01b0\u1ee3c d\u00f9ng trong &#8220;h\u1ec7 th\u1ed1ng c\u00f3 ph\u1ea9m ch\u1ea5t c\u00f4ng nghi\u1ec7p\u201d \u0111\u1ec3 cho m\u1ecdi m\u00e1y t\u00ednh t\u01b0\u01a1ng lai c\u00f3 th\u1ec3 \u0111\u01b0\u1ee3c l\u1eadp tr\u00ecnh b\u1eb1ng ng\u00f4n ng\u1eef n\u00e0y. D\u01b0\u1edbi d\u1ea1ng t\u1ed1c \u0111\u1ed9, Swift d\u00f9ng tr\u00ecnh bi\u00ean d\u1ecbch LLVM, v\u00e0 bi\u00ean d\u1ecbch m\u00e3 Swift th\u00e0nh m\u00e3 m\u00e1y t\u1ed1i \u01b0u tu\u1ef3 theo thi\u1ebft b\u1ecb m\u1ee5c ti\u00eau. V\u1ec1 c\u0103n b\u1ea3n, Swift 3 l\u1ea7n nhanh h\u01a1n Objective-C v\u00e0 9 l\u1ea7n nhanh h\u01a1n Python. V\u00ec m\u00e3 ch\u1ea1y nhanh h\u01a1n l\u00e0 hi\u1ec7u qu\u1ea3 h\u01a1n cho app di \u0111\u1ed9ng, \u0111i\u1ec1u \u0111\u00f3 t\u1ea1o ra kinh nghi\u1ec7m t\u1ed1t h\u01a1n cho m\u1ecdi ng\u01b0\u1eddi d\u00f9ng di \u0111\u1ed9ng t\u01b0\u01a1ng lai. Y\u00eau c\u1ea7u c\u1ee7a Steve Jobs l\u00e0 Apple ph\u1ea3i t\u1ea1o ra \u201ckinh nghi\u1ec7m c\u1ee7a ng\u01b0\u1eddi d\u00f9ng ho\u00e0n h\u1ea3o\u201d cho m\u1ecdi th\u1ee9 n\u00f3 t\u1ea1o ra. \u0110\u00f3 l\u00e0 l\u00ed do t\u1ea1i sao ch\u00fang t\u00f4i l\u00e0m vi\u1ec7c c\u1ea7n m\u1eabn \u0111\u1ec3 t\u1ea1o ra ng\u00f4n ng\u1eef l\u1eadp tr\u00ecnh n\u00e0y.\u201d<\/p>\n<p>T\u00f4i h\u1ecfi: \u201cNh\u01b0ng Apple c\u0169ng t\u1ea1o ra Objective C v\u00e0 n\u00f3 r\u1ea5t ph\u1ed5 bi\u1ebfn trong nh\u1eefng ng\u01b0\u1eddi ph\u00e1t tri\u1ec3n app di \u0111\u1ed9ng. T\u1ea1i sao \u00f4ng c\u1ea7n thay \u0111\u1ed5i sang ng\u00f4n ng\u1eef m\u1edbi?&#8221;<\/p>\n<p>Ng\u01b0\u1eddi qu\u1ea3n l\u00ed gi\u1ea3i th\u00edch: \u201cObjective-C c\u0169 r\u1ed3i, n\u00f3 \u0111\u00e3 \u0111\u01b0\u1ee3c t\u1ea1o ra nhi\u1ec1u n\u0103m tr\u01b0\u1edbc \u0111\u00e2y v\u00e0 n\u00f3 l\u00e0 ng\u00f4n ng\u1eef kh\u00f3 h\u1ecdc cho nh\u1eefng ng\u01b0\u1eddi kh\u00f4ng bi\u1ebft t\u00ednh to\u00e1n. T\u1ea5t nhi\u00ean sinh vi\u00ean \u0111\u1ea1i h\u1ecdc trong Khoa h\u1ecdc m\u00e1y t\u00ednh v\u00e0 K\u0129 ngh\u1ec7 ph\u1ea7n m\u1ec1m ch\u1eafc s\u1ebd ngh\u0129 r\u1eb1ng Objective C l\u00e0 d\u1ec5. Nh\u01b0ng sinh vi\u00ean kinh doanh, sinh vi\u00ean ngh\u1ec7 thu\u1eadt, sinh vi\u00ean ki\u1ebfn tr\u00fac hay tr\u1ebb nh\u1ecf \u1edf tr\u01b0\u1eddng trung h\u1ecdc hay ti\u1ec3u h\u1ecdc c\u00f3 th\u1ec3 kh\u00f4ng c\u00f3 kh\u1ea3 n\u0103ng h\u1ecdc Objective C d\u1ec5 th\u1ebf. Steve Jobs mu\u1ed1n c\u00f3 m\u1ed9t ng\u00f4n ng\u1eef l\u1eadp tr\u00ecnh \u0111\u1eb7c bi\u1ec7t cho m\u1ecdi ng\u01b0\u1eddi, tr\u1ebb v\u00e0 gi\u00e0, sinh vi\u00ean \u0111\u1ea1i h\u1ecdc, c\u0169ng nh\u01b0 h\u1ecdc sinh ti\u1ec3u h\u1ecdc \u0111\u1ec3 h\u1ecdc vi\u1ebft m\u00e3 trong v\u00e0i tu\u1ea7n. \u0110\u00f3 l\u00e0 l\u00ed do t\u1ea1i sao ch\u00fang t\u00f4i ph\u00e1t tri\u1ec3n ng\u00f4n ng\u1eef l\u1eadp tr\u00ecnh m\u1edbi n\u00e0y nh\u01b0 m\u1ed9t ng\u00f4n ng\u1eef hi\u1ec7n \u0111\u1ea1i cho m\u1ecdi ph\u1ea7n c\u1ee9ng c\u1ee7a Apple.\u201d<\/p>\n<p>T\u1ea5t nhi\u00ean, b\u1ea1n b\u00e8 t\u00f4i \u1edf Microsoft v\u00e0 Google kh\u00f4ng c\u00f3 chung c\u00e1ch nh\u00ecn \u0111\u00f3. H\u1ecd b\u1ea3o t\u00f4i r\u1eb1ng m\u1ecdi th\u1ee9 Steve Jobs \u0111\u00e3 l\u00e0m ch\u1ec9 l\u00e0 \u0111\u1ec3 qu\u1ea3ng c\u00e1o cho c\u00f4ng ti c\u1ee7a \u00f4ng \u1ea5y v\u00e0 \u0111\u1ec3 b\u00e1n \u0111\u01b0\u1ee3c nhi\u1ec1u s\u1ea3n ph\u1ea9m c\u1ee7a Apple. M\u1ed9t ng\u01b0\u1eddi b\u1ea1n n\u00f3i: \u201cSteve Jobs c\u00f3 l\u1ebd l\u00e0 ng\u01b0\u1eddi b\u00e1n h\u00e0ng gi\u1ecfi nh\u1ea5t th\u1ebf gi\u1edbi; \u00f4ng \u1ea5y c\u00f3 th\u1ec3 b\u00e1n \u0111\u01b0\u1ee3c g\u1ea7n nh\u01b0 b\u1ea5t k\u00ec c\u00e1i g\u00ec v\u00e0 to\u00e0n th\u1ebf gi\u1edbi tin v\u00e0o \u00f4ng \u1ea5y.\u201d<\/p>\n<p>T\u00f4i nh\u1eafc anh \u1ea5y r\u1eb1ng cho d\u00f9 Steve Jobs kh\u00f4ng c\u00f2n \u0111\u00f3, c\u00f4ng ti c\u1ee7a \u00f4ng \u1ea5y v\u1eabn l\u00e0m r\u1ea5t t\u1ed1t, Apple hi\u1ec7n th\u1eddi l\u00e0 c\u00f4ng ti l\u1edbn nh\u1ea5t tr\u00ean th\u1ebf gi\u1edbi; v\u00e0 vi\u1ec5n ki\u1ebfn c\u1ee7a \u00f4ng \u1ea5y v\u1eabn c\u00f3 l\u1ee3i cho nhi\u1ec1u ng\u01b0\u1eddi. Vi\u1ec7c t\u1ea1o ra m\u1ed9t ng\u00f4n ng\u1eef l\u1eadp tr\u00ecnh m\u1edbi ch\u1ea1y nhanh v\u1edbi ch\u1ea5t l\u01b0\u1ee3ng c\u00f4ng nghi\u1ec7p kh\u00f4ng ph\u1ea3i l\u00e0 d\u1ec5. Nh\u01b0ng l\u00e0m n\u00f3 \u0111\u1ec3 cho m\u1ecdi ng\u01b0\u1eddi c\u00f3 th\u1ec3 h\u1ecdc vi\u1ebft ch\u01b0\u01a1ng tr\u00ecnh m\u00e1y t\u00ednh trong v\u00e0i tu\u1ea7n, nh\u1ea5t \u0111\u1ecbnh l\u00e0 vi\u1ec5n ki\u1ebfn tuy\u1ec7t v\u1eddi x\u1ee9ng \u0111\u00e1ng \u0111\u01b0\u1ee3c ng\u01b0\u1ee1ng m\u1ed9.<\/p>\n<p>&nbsp;<\/p>\n<p>\u0110\u1ec3 xem th\u00f4ng tin v\u1ec1 Swift:<\/p>\n<p><a href=\"https:\/\/www.apple.com\/swift\/\">https:\/\/www.apple.com\/swift\/<\/a><\/p>\n<p><a href=\"https:\/\/developer.apple.com\/library\/ios\/documentation\/Swift\/Conceptual\/Swift_Programming_Language\/\">https:\/\/developer.apple.com\/library\/ios\/documentation\/Swift\/Conceptual\/Swift_Programming_Language\/<\/a><\/p>\n<p>&nbsp;<\/p>\n<p>&#8212;English version&#8212;<\/p>\n<p>&nbsp;<\/p>\n<p>Steve Jobs&#8217; vision on programming language<\/p>\n<p>Technology changes fast and industry\u2019s demand is changing fast too. The clear trend today is in mobility with medical devices, Internet of Thing (IoT), and enterprise mobile apps. Last week I visited Apple Company to learn about their new programming language called Swift.<\/p>\n<p>A manager explained: \u201cSwift is a new programming language developed by Apple for iOS and OS X. In the future, all Apple products will use Swift instead of Objective C. We are exciting about this language as it will be our key language for all future development. Swift is similar to Ruby and Python with some C syntax and you can still utilize Objective-C files with Swift code. For many years, Steve Jobs always wanted to create a new programming language that is easy to learn, so we can train a lot of people to write code quickly. Steve also wanted it to be fast so it can be used in specific industry domains. After several years of research, we believe that we have met his vision.\u201d<\/p>\n<p>Another manager told me: \u201cSwift is designed so anyone can learn it quickly, including children. That was Steve Jobs\u2019 vision to have everybody write code in the 21st century. But he insisted that it must also be good enough to be used in \u201cindustrial-quality systems\u201d so all future computers can be programmed with this language. In terms of speed, Swift uses the LLVM compiler, and compiles Swift code to optimized native code depending on target device. Basically, Swift is about 3 times faster than Objective-C and 9 times faster than Python. Because faster running code is more efficient for mobile apps, it makes a better experience for all future mobile users. Steve Jobs\u2019 demand that Apple has to create a \u201cPerfect users\u2019 experience\u201d for everything it produces. That is why we work hard to create this programming language.\u201d<\/p>\n<p>I asked: \u201cBut Apple also created Objective C and it is very popular among mobile apps developers. Why do you need to change to a new language?<\/p>\n<p>The manager explained: \u201cObjective-C is old, it was created several years ago and it is a difficult language for non-computing people to learn. Of course college students in Computer Science and Software Engineering would think that Objective C is easy. But Business students, Arts students, Architecture students or young children in high school or elementary school may not be able to learn Objective C that easy. Steve Jobs wanted a special programming language for everybody, young and old, college students, as well as elementary students to learn to write code in few weeks. That is why we develop this new programming language as a modern language for all Apple hardware.\u201d<\/p>\n<p>Of course, my friends at Microsoft and Google did not share that view. They told me that everything Steve Jobs did is only to promote his company and to sell more Apple\u2019s product. A friend said: \u201cSteve Jobs is probably the best salesman in the world; he can sell almost anything and the whole world believes in him.\u201d<\/p>\n<p>I reminded him that even Steve Jobs is no longer here, his company is still doing very well, Apple is currently the largest company on earth; and his vision is still benefit a lot of people. Creating a new programming language that is fast with industry quality is not easy. But make it so everyone can learn to write computer program in few weeks, is definitely a wonderful vision that deserved to be admired.<\/p>\n<p>&nbsp;<\/p>\n<p>For information on Swift:<\/p>\n<p><a href=\"https:\/\/www.apple.com\/swift\/\">https:\/\/www.apple.com\/swift\/<\/a><\/p>\n<p><a href=\"https:\/\/developer.apple.com\/library\/ios\/documentation\/Swift\/Conceptual\/Swift_Programming_Language\/\">https:\/\/developer.apple.com\/library\/ios\/documentation\/Swift\/Conceptual\/Swift_Programming_Language\/<\/a><\/p>\n<p>&nbsp;<\/p>\n","protected":false},"excerpt":{"rendered":"<p>C\u00f4ng ngh\u1ec7 thay \u0111\u1ed5i nhanh ch\u00f3ng v\u00e0 nhu c\u1ea7u c\u1ee7a c\u00f4ng nghi\u1ec7p \u0111ang thay \u0111\u1ed5i nhanh ch\u00f3ng n\u1eefa. Xu h\u01b0\u1edbng r\u00f5 r\u00e0ng ng\u00e0y nay l\u00e0 &hellip; <\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[26],"tags":[],"class_list":["post-4617","post","type-post","status-publish","format-standard","hentry","category-xu-huong-cong-nghe"],"_links":{"self":[{"href":"https:\/\/science-technology.vn\/index.php?rest_route=\/wp\/v2\/posts\/4617","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/science-technology.vn\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/science-technology.vn\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/science-technology.vn\/index.php?rest_route=\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/science-technology.vn\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=4617"}],"version-history":[{"count":1,"href":"https:\/\/science-technology.vn\/index.php?rest_route=\/wp\/v2\/posts\/4617\/revisions"}],"predecessor-version":[{"id":4618,"href":"https:\/\/science-technology.vn\/index.php?rest_route=\/wp\/v2\/posts\/4617\/revisions\/4618"}],"wp:attachment":[{"href":"https:\/\/science-technology.vn\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=4617"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/science-technology.vn\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=4617"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/science-technology.vn\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=4617"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}