All slide content and descriptions are owned by their creators.
All slide content and descriptions are owned by their creators.
Play 2.6のドキュメントにある「What’s new in Play 2.6」からScalaに関する部分をざっと日本語にしてみました。 https://www.playframework.com/documentation/2.6.x/Highlights26 細かい部分はマイグレーションガイドも見ないとダメそうですね。こちらはかなり分量があるのでさくっと日本語にするのは厳しそう…。 https://www.playframework.com/documentation/2.6.x/Migration26 グローバルステートが非推奨に アプリケーションではplay.api.Play.current / play.Play.application()でグローバルアプリケーションにアクセスできるけど非推奨。以下のようにして禁止することもできる。 play.allowGlobalAppli
2016年11月3日に Scala 2.12.0 がリリースされました。 Java 8 を利用することになって trait が直接 interface にできたり、無名関数が lambda になったと裏側ではいろいろ良くなっているみたいですが、本記事では主に表側、すなわち Scala を利用する者として書きます。 書き終わってから思いましたが、ほぼ Future についての記事になりました。 ほぼ自学のためのチラシの裏なので、 もっと深く知りたい場合は リリースノート やその 翻訳版 を読むと良いです。 (本記事でもリリースノートおよび翻訳版から一部引用させていただいています) Scala 2.11 との互換性 リリースノートによると Thanks to source compatibility, cross-building is a one-line change to most sb
Understanding Incremental Recompilation¶ Compiling Scala code is slow, and sbt makes it often faster. By understanding how, you can even understand how to make compilation even faster. Modifying source files with many dependencies might require recompiling only those source files—which might take, say, 5 seconds—instead of all the dependencies—which might take, say, 2 minutes. Often you can contro
Develocity has extended its support to the Scala/sbt community with the release of sbt for Develocity. Scala developers can also speed up their builds by taking advantage of the world’s only parallel compiler for the Scala language, Hydra. The Develocity strategy is to support all important build systems and language ecosystems in order to provide a single-vendor solution for maximizing developer
Cats Overview Cats is a library which provides abstractions for functional programming in the Scala programming language. Scala supports both object-oriented and functional programming, and this is reflected in the hybrid approach of the standard library. Cats strives to provide functional programming abstractions that are core, binary compatible, modular, approachable and efficient. A broader go
Back in August, I wrote a stream-of-consciousness style post Can Scala have a highly parallel typechecker?. My original plan was to write down my thoughts on the subject and move on with my life. I thought to myself at the time: “wouldn’t it be cool to pretend I’m a Software Architect?”. So I did what I thought Software Architects do: I hand-waved about an unproven idea in a blog post. Today, I’m
Update (Dec 23 2016): I wrote a follow up post “Limits of Scala typechecking speed”. A couple months ago I had an interview with the Hack team at Facebook. One of the things we discussed was the architecture of Hack’s typechecker that is designed to handle the enormous scale of Facebook’s codebase. Hack’s typechecker processes over ten million lines of code in just two minutes and provides a nearl
TL;DR 世間のScalaに関するイメージは、昔のままであることが多い 昔のままどころか、最初から間違ったイメージを持たれていることも多い 実際には、既に解決されている問題は多々あるし、改善に向かっていることも多い プロジェクト管理の問題を言語に押し付けているケースもある はじめに 自分が最初にScalaに触れたのが2005年(Scala 1からカウントした場合)、あるいは2007年(Scala 2以降からカウントした場合)と、Scalaとの付き合いも結構長くなってきましたが、その間に Typesafe社(現Lightbend社)の設立 実質標準ビルドツールとしてのsbtの確立 ライブラリのバイナリ後方互換性に関するポリシーの策定 公式ScalaイベントScala Daysのはじまり Play 2 Frameworkの登場 Scala Center発足 その他色々 がありました。この間、
How to Use Multiple GitHub Accounts Git is a popular tool for version control in software development. It is not uncommon to use multiple Git accounts. Correctly configuring and switching Git accounts is challenging. In this article, we show what Git provides for account configuration, its limitations, and the solution to switch accounts automatically based on a project parent directory location.
We’re excited to announce the first release of Scala Native, an optimising ahead-of-time compiler for Scala built on top of the LLVM compiler infrastructure. Unlike the reference implementation of Scala which generates bytecode that runs on top of the Java Virtual Machine, Scala Native toolchain produces stand-alone native executables. This opens the door for Scala to be used in environments where
Play Framework makes it easy to build web applications with Java & Scala. Play is based on a lightweight, stateless, web-friendly architecture. Built on Pekko (Play 3) and Akka (Play 2), Play provides predictable and minimal resource consumption (CPU, memory, threads) for highly-scalable applications. Developer friendly. Make your changes and simply hit refresh! All you need is a browser and a tex
P)�8�U Get the Reddit app Scan this QR code to download the app now Or check it out in the app stores Go to scala r/scala r/scala Members Online • lihaoyi takezoe/blocking-slick: Provides blocking API for Slick3 github.com Open Locked post. New comments cannot be posted. Top 2% Rank by size Top Posts Reddit reReddit: Top posts of January 1, 2017 Reddit reReddit: Top posts of January 2017 Reddit re
The previous explanations have made it clear that different collection types have different performance characteristics. That’s often the primary reason for picking one collection type over another. You can see the performance characteristics of some common operations on collections summarized in the following two tables. Performance characteristics of sequence types: head tail apply update prepen
Posted on 2014-01-28 tags: scala, oop オブジェクト指向とテストについて 私はオブジェクト指向や特に自動テスト周りの実務経験に乏しいわけですが、最近になってようやくテストをきちんと書いたりテストファーストによって良い設計になるみたいな実感を得たりしています。長らくテストを書かない文化にいたので、注意しないとすぐにモノリシックな設計になってしまい、後から「テスト書くのどうすんだこれ」みたいになってしまうことも多い。 で、最近 Dependency Injection という依存性をうまいこと抽象化しておく仕組みについて学んだので、その Scala における代表的なデザインパターンである Cake Pattern で実装した話です。 Dependency Injection 依存性の注入とか訳される、依存しているオブジェクトを直接クラスの中に持っておくのでは
リリース、障害情報などのサービスのお知らせ
最新の人気エントリーの配信
処理を実行中です
j次のブックマーク
k前のブックマーク
lあとで読む
eコメント一覧を開く
oページを開く