You signed in with another tab or window. Reload to refresh your session. You signed out in another tab or window. Reload to refresh your session. You switched accounts on another tab or window. Reload to refresh your session. Dismiss alert
Content-Length: 308347 | pFad | http://b.hatena.ne.jp/yosuke_furukawa/swift/
About the content This content has been published here with the express permission of the author. This Tuesday JP Simard gave another talk for the Swift Language User Group (#SLUG) in San Francisco. Hosted by Pubnub, this meetup was a Swift talk for JavaScript developers. JP began with a brief overview of some similarities and differences between Swift and JavaScript. He then focused on eight main
insiderman 曰く、 ここ最近、新しいプログラミング言語が次々と登場し普及し始めている。GoogleがプッシュするGoやMozillaが開発するRustなどが徐々に人気を集めているほか、AppleもSwiftという新言語を開発した。JavaScriptもそう遠くないうちにさまざまな機能強化や仕様変更を果たしたECMAScript 6が発表され、大幅に変わると予想される。次にどの言語を習得すべきか、頭を悩ましつつも興味を示しているプログラマの皆様も多いだろう。 そんななか、米人材系サイトDiceが「来年以降あなたが必要な5つのプログラミング言語」なる記事を公開している。この記事では来年以降必要となる言語としてJavaScript+HTML5+CSS3、C#、Java、PHP、Swiftの5つが挙げられており、オマケとしてErlangが挙げられている。Erlangについては「Erlan
#はじめに ##シチュエーション 部屋で作業をしているとき、突然お母さんが部屋に入ってきたという経験はありませんか? そんな状況を避ける為に、今回はお母さんが部屋に近づいてきたことを知らせる夢のようなアプリを 「iBeacon」を使用することで作ってみたいと思います。 ##iBeaconとは iOSで地図などに使用されていた「Core Location」にiOS7以降に新たに加わった機能です。 CoreLocationは元々GPSからデバイスを検出していた為、近距離や屋内での使用には不向きでした。 iBeaconはBluetooth LEを使用することで、近距離でのデバイスの位置情報を容易に取得できるようにしたものです。 ##アプリの仕組み まずお母さんにはestimote社から発売されている ビーコンを大切なものだから..と言って常に持ってもらいます。 http://estimote.c
After the surprise announcement last week of a new programming language for iOS and Mac development, a lot of developers have been geeking out over Swift. At Tack we’re no exception; most of us on the iOS side of the aisle have been filling our chat room with “Sweet!”, “What the heck?”, and “Dude, check this out!” in equal measure. There are a lot of different takes on different interesting featur
数日間iOS8/Xcode6/Swiftな環境で色々試してみて、Swiftを使っていて思ったよりがっかりした点が多かったのでちょっとまとめてみようと思います。 動的な処理がSwiftだけでは一切できない [NSObject performSelector:]の類と、NSInvocationがSwiftからは一切呼び出せません。使おうとすると怒られます。objc/runtime.hは試していませんが、同様に直接Swift経由では呼び出せず間にObjective-Cをかます必要があるのではないかと思われます。 @optionalなprotocolが限定的にしか使用できない 具体的には@objc属性を付けないと使えません。しかしながらこのような後方互換性のためだけに存在する属性をいつまでもAppleがサポートするかは疑問が残るというのと、もう一つ以下の様な問題があります。 @objc属性のついた
As a high level summary, I am a well-known leader who is distinguished by a hands-on approach to building systems. I am co-founder and CEO of Modular AI. I built and scaled many open source compiler infrastructures, including LLVM, Clang, MLIR, and CIRCT. These span the gamut of fundamental systems at the HW/SW boundary - powering iOS, Android, CUDA, TensorFlow, and countless other products and te
とりあえずThe Swift Programming Language読んで、実際に自分で少し書いてみた感想。 諸事情でAppleにiOSデベロッパーとしてお布施していたので Xcode6beta落として少し書いてみた。プロジェクトスケルトンをswiftで生成できるので、そのコードを眺めたりしていた。 ファーストインプレッション Immutable脳の人が設計したっぽい。 スクリプト言語っぽい構文に、型注釈。これはGoとシンタックス上の設計思想が似ているんだと思う。 基本的にImmutableな設計でありながら、オブジェクト指向を採用しており、Scalaっぽいマルチパラダイム感がある。Scalaの人は好きになりそう。 型推論のおかげで動的型付け言語触ってきた人にも抵抗がない感じになってる。推論のおかげで静的型付け言語が動的型っぽくみえるのはHaskellとかOCaml方面の雰囲気。 LLV
The MIT License (MIT) Copyright (c) 2015, Giordano Scalzo Copyright (c) 2015, Packt Publishing Ltd Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or
Objective-Cに替わる新しいプログラミング言語Swiftの登場 WWDC2014で発表された新しいプログラミング言語Swiftでできることを紹介したいと思います。 今までとこれから Swift使うとこんなにコードが短くなるぜという例です。 今まで これから 確かにスマートですね。 言語ガイドをダウンロード iBookでガイドを読めますのでダウンロードしてみましょう。 変数の宣言 varは変数、letは定数 var myVar = 42 myVar = 50 let myConst = 42 コントロール if,switch,for-in,for,while,do-while let individualScores = [76, 43, 103, 87, 12] var teamScore = 0 for score in individualScores { if score >
Swift The powerful programming language that’s also easy to learn. Swift is a powerful and intuitive programming language for all Apple platforms. It’s easy to get started using Swift, with a concise-yet-expressive syntax and modern features you’ll love. Swift code is safe by design and produces software that runs lightning‑fast. What’s new Swift 6 makes it easier to write concurrent code correctl
リリース、障害情報などのサービスのお知らせ
最新の人気エントリーの配信
処理を実行中です
j次のブックマーク
k前のブックマーク
lあとで読む
eコメント一覧を開く
oページを開く
Fetched URL: http://b.hatena.ne.jp/yosuke_furukawa/swift/
Alternative Proxies: