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
ããã¾ã§Scalaã§GraalVMã®ãã¤ãã£ãã¤ã¡ã¼ã¸çææ©è½ã使ãå ´åã¯sbt-native-packagerãã©ã°ã¤ã³ã使ç¨ãã¦ããã®ã§ãããæè¿æ°ãã«sbt-native-imageã¨ãããã©ã°ã¤ã³ããªãªã¼ã¹ãããã¨ã®ãã¨ã§å®éã«è©¦ãã¦ã¿ã¾ããã Released the first version of sbt-native-image, a new sbt plugin to generative native-image binaries https://t.co/WYFVnQg4xKâ Ãlafur Páll Geirsson (@olafurpg) August 29, 2020 ã¾ãã¯ä¾ã«ãã£ã¦project/plugins.sbtã«ãã©ã°ã¤ã³ã追å ãã¾ãã addSbtPlugin("org.scalameta" % "sbt-native-image" % "0.2.
以åPicocliã¨GraalVMã使ã£ã¦Scalaã§ãã¤ãã£ãCLIã¢ããªã±ã¼ã·ã§ã³ãä½æããæ¹æ³ã試ãã¦ã¿ãã®ã§ããããã®å¾ç´°ã ã¨ã¹ã¿ã³ãã¢ãã³ã®ãã¤ãã£ãã¤ã¡ã¼ã¸ãä½æããã®ã«é©ããScalaã©ã¤ãã©ãªã®çµã¿åããã試ããããã¦ããã®ã§ãããããã¾ã¨ãã¦giter8ãã³ãã¬ã¼ãã«ãã¦ã¿ã¾ããã github.com 使ãæ¹ã¯ç°¡åã§ãã¾ãã¯ä»¥ä¸ã®ããã«ãã¦ããã¸ã§ã¯ããä½æãã¾ãã $ sbt new takezoe/scala-native-cli.g8 scoptã使ã£ãç°¡åãªãµã³ãã«ã³ã¼ããçæãããããã«ãªã£ã¦ããã®ã§ããããã¼ã¹ã«ã³ãã³ããå®è£ ãããã以ä¸ã®ã³ãã³ããå®è¡ããã¨target/graalvm-native-imageãã£ã¬ã¯ããªã«ãã¤ãã£ãã¤ã¡ã¼ã¸ãçæããã¾ãï¼GraalVMã¨native-imageã³ãã³ãã¯äºãã¤ã³ã¹ãã¼ã«ãã¦ããå¿ è¦ãããã¾ãï¼ã $ s
2018å¹´11æ以åã«ClojureãAWS Lambdaã§ä½¿ããã¨æã£ãã åä½ç°å¢ã®é¸æè¢ã¨ãã¦ã ClojureãJavaã©ã³ã¿ã¤ã ä¸ã§èµ°ããã ClojurescriptãNode.jsã©ã³ã¿ã¤ã ä¸ã§èµ°ããã ã®ï¼ã¤ã§ãããNode.jsããåããã»ã¹ã®å®è¡ã¨ããå½¢ã§å¤è¨èªã§ã®å®è¡ããµãã¼ãããApexã§ãClojureã®å ´åã¯Javaã©ã³ã¿ã¤ã ãå©ç¨ãã¦ããã®ã§ãæ¬è³ªçã«ã¯1.ã¨åæ§ã«ãªãã¨æãã¾ãã åé¡ç¹ Javaã©ã³ã¿ã¤ã ã§ã®åæå®è¡ãé ã Clojureã®å ´åãClojureã©ã³ã¿ã¤ã ã®åæåã«æéããããã®ã§Javaã®å ´åããããã«ä¸å©ã§ãã å¿ è¦ä»¥ä¸ã«å¤§ããªã¡ã¢ãªãå²ãå½ã¦ãå¿ è¦ããã Labmdaã¯ã¡ã¢ãªã«å¿ãã¦å¤§ããªCPUãã¯ã¼ãå²ãå½ã¦ãã®ã§ãé度ã®ããã«å¿ è¦ä»¥ä¸ã«ã¡ã¢ãªãå²ãå½ã¦ãªããã°ãªãã¾ããã Jarãã¡ã¤ã«ãµã¤ãºã¯50MBãä¸é å§ç¸®ããzipãjar
Graalã«ã¤ãã¦å ¨ç¶è©³ãããªãã®ã§ãGraalèªä½ã®èª¬æã¯ãã¾ãããã¨ãããã§ãã¾ããããJDK10以é㧠-XX:+UnlockExperimentalVMOptions -XX:+UseJVMCICompiler ã¨ãããªãã·ã§ã³ãä»ä¸ããã¨æå¹ã«ã§ãããããã§ããã ã¨ããããã§ã以ä¸ã®ãããªæ¡ä»¶ã§è¨æ¸¬ããçµæãçµæããããã¨13%ãããéã(ã³ã³ãã¤ã«æéãçã)ãªãã¾ããã scalazã®ç¾ç¶ã®ææ°masterã§è¨æ¸¬ https://github.com/scalaz/scalaz/tree/9369d23137d29c1490ccb72a83c8f76dc873285a ä»ã®æ¡ä»¶ãåºæ¬çã«åãã«ãã¦ãtravis-ciä¸ã§é©å½ã«10åãããclean update compileãsbtãèµ·åããã¾ã¾ç¹°ãè¿ãå®è¡ãã¦ãsbtã表示ããcompileã®é¨åã®æéè¨æ¸¬ ä»ã®æ¡ä»¶ã
date ã³ãã³ãã使ãã¨ãã«ãã¤ãã°ã°ã£ã¦èª¿ã¹ããããã® unix é³ç´ã§ã Java ã® JSR310 ãªãããã§ããã®ã«ã¨æããã¨ãå¤ãã®ã§ããã®ãããªã³ãã³ããä½ããã¨ã«ãã¾ããã github.com æ©è½ã¯ã¾ã ä½ãè¾¼ãã§ããªãã¦ãã¾ãã¯ãã©ã¼ããããæå®ã§ããã ãã§ãã å¯¾å¿ OS 㯠Linux 㨠Mac OS X ã§ãã Windows ã§ã Windows SDK 7.1 ã®ç°å¢ãæ´ããã°ãã«ãã§ãã¾ã(åè㯠ãã¡ã)ãã github actions ã§ç°å¢ãæ´ããã®ãé£ãããã ã£ãã®ã§ãgithub ã§ã¯ãªãªã¼ã¹ãã¦ãã¾ããã ãªããMac OS X çã¯ãµã¤ã³ãã¦ãªãéè¯ã¢ããªãªã®ã§ãååã®èµ·åã¯ãMac éè¯ã¢ã㪠起åãã§ã°ã°ã£ããåºã¦ãã Apple ã®æªç½²åã®ã¢ããªã®èµ·åæ¹æ³ã¿ãããªãã¼ã¸ãåèã«èµ·åãã¦ãã ããã æ¬é¡ã«æ»ãã¨ãå ¬å¼ã® actions
以åãScalaã使ã£ã¦CLIãã¼ã«ãä½ãã¨ããè¨äºãæ¸ããã®ã§ããããã¯ãJVMãã¼ã¹ã®ã¢ããªã±ã¼ã·ã§ã³ã«ã¯èµ·åæéã®ãªã¼ãã¼ããããä»ãç©ãªã®ã§ã¡ãã£ã¨ããCLIãã¼ã«ãScalaã§æ¸ããã¨ããæãã«ã¯ãªããªããªãã¾ãããããã§ä»åã¯Picocliã¨ããJavaåãã®CLIãã¼ã«ç¨ã©ã¤ãã©ãªã¨GraalVMã使ã£ã¦ãã¤ãã£ãCLIã³ãã³ããScalaã§ä½ãæ¹æ³ã試ãã¦ã¿ã¾ããã github.com sbtããã¸ã§ã¯ãã®ä½æ ä»åã¯Picocliã®ããã¥ã¡ã³ãã§ä¾ã¨ãã¦æ²è¼ããã¦ããchecksumã³ãã³ããScalaã§å®è£ ãã¦ã¿ã¾ããã¾ãã¯ä»¥ä¸ã®å 容ã§build.sbtãä½æãã¾ãã name := "picocli-scala-example" version := "0.1" scalaVersion := "2.12.7" libraryDependencies ++= Seq
2020/07/01 è¿½è¨ GraalVM 20.1.0åºãã®ã§ ã¤ã³ã¹ãã¼ã«ãã¦ãæ native-image ã gu install native-image ã§å ¥ãããã¨ããæã« å ¥ããããªãã£ãã®ã§ãã¼ã«ã«ã§ã¤ã³ã¹ãã¼ã«ããæé ã追å ã20.0 ã§ãåã PKIX ãªãã¡ããã®ã¨ã©ã¼ã ã£ãã®ã§ ãããã証ææ¸ããããã¯ã¼ã¯ã®åé¡ã ã¨æã keytool ã§è²ã ãã£ã¦ããä¸æãè¡ããªãã£ãã®ã§ã GraalVM 20.0.0 ã«ãªã£ã¦ native-image ã® Windows 対å¿ã experimental ã¯ã¾ã åãã¦ãªãã improves significantly ãªç¶æ ã«ãªã£ããããªã®ã§ããããã©ãããªã¨è©¦ãã¦ã¿ãã 2020/07/01 è¿½è¨ èªåã® native-image ã®ç解 ãã«ãå®äºã¾ã§ã®æé Graal VM æ¬ä½ JDK11 ã¤ã³ã¹ãã¼ã« Nati
Introduction ååã¯Micronautãã¬ã¼ã ã¯ã¼ã¯ã«ã¤ãã¦ç´¹ä»ãã¾ããã Micronautã¯GraalVMã§åä½ããã¢ããªãç°¡åã«ã§ããã®ã§ã ä»åã¯ããã試ãã¦ã¿ã¾ãã Using GraalVM with Micronaut About GraalVM GraalVMã¨ã¯ãæè¿æ³¨ç®ããã¦ããå¤è¨èªå¯¾å¿ã®ä»®æ³ãã·ã³ã¨ãã©ãããã©ã¼ã ã§ãã ç¾å¨ã¯JavaãJVMè¨èª(Scalaã¨ãClojureã¨ã)ã®å®è¡æ©è½ã«å ãã node.js(JavaScript)/Ruby/Python/Rè¨èª/LLVMãã¼ã¹ã®è¨èªããµãã¼ããã¦ãã¾ãã ããã«ãããè¤æ°ã®ããã°ã©ãã³ã°è¨èªãæ··å¨ããããã°ã©ã ãå®è¡ãããã¨ãå¯è½ã«ãªãã¾ãã ã¾ããGraalVMã§ã¯Javaããã°ã©ã ããã¤ãã£ãã³ã³ãã¤ã«ãããã¨ãã§ãã¾ãã ãããããã¨ã§é«éèµ·åï¼ãããããªã³ããå°ãããã¤ãã£ãããã°ã©ã
github.com scalafmtã¯scalametaãå©ç¨ããscalaã®ã³ã¼ããã©ã¼ããã¿ã§ããintellij pluginã»sbt pluginã»cliã»mavenãgradle plugin ã¨ãã£ãæ§ã ãªå½¢ã§æä¾ããã¦ãã vim-autoformatãªã©ãç¨ãã¦vimãããã©ã¼ããããå®è¡ããã https://scalameta.org/scalafmt/docs/installation.html#vim git hook ãè¨å®ããã Code formatting: scalafmt and the git pre-commit hook ã¨æ§ã ãªæ¹æ³ã§å©ç¨ãããã¨ãã§ãã¾ãã scalafmtã®èª²é¡ã®ä¸ã¤ã¯scalafmtã®å®è¡ã«ãããæéã§ããæ©è½ãè±å¯ã§è¤éãªããããã ã§ãããããªãã«å®è¡ã«æéãããã£ã¦ãã¾ãã®ã§ãããããã«æªããã¨ã«scalafmtã®å®è¡
ãã®ã¨ã³ããªã¯ ãã ã®éå£ Advent Calendar 2018 ã®18æ¥ç®ã§ããæ¨æ¥ã¯ ugdark ããã® è·ç¨®ã¨ãã¦ã®ã¹ã¯ã©ã ãã¹ã¿ã¼ã調ã¹ã¦ã¿ã ã§ããã æ®æ®µã¯Scalaã¢ããªã±ã¼ã·ã§ã³ãECSãEC2ã§åãããã¨ãå¤ãã®ã§ããããã®ã«ãã£ã¦ã¯Pythonãnode.jsã§AWS Lambdaã®é¢æ°ãã³ãã©ãæ¸ããã¨ãããã¾ããè³å ã³ã³ããã¹ãã¹ã¤ããã®æå¶ãèããã¨Lambdaé¢æ°ãã³ãã©ãScalaã§æ¸ãããã¨ããã§ãããã³ã¼ã«ãã¹ã¿ã¼ãæã«ãããJVMèµ·åã®ãªã¼ãã¼ããããªã©ããããã¨ãããä»ã¾ã§ã«Scalaã§Lambdaã¨ããé¸æã¯æ¡ããã¨ãããã¾ããã§ããã ãããªä¸ãå æ¥ã«GraalVMã«ãã¤ãã£ãã¤ã¡ã¼ã¸ãã³ã³ãã¤ã«ããæ©è½ããããã¨ãç¥ãã¾ãããããã使ã£ã¦Scalaã³ã¼ããå®è¡å¯è½ãªãã¤ããªã«ã³ã³ãã¤ã«ããLambdaã§ãµã¯ãµã¯ã¨åããã¦ã¿ããã¨æãã¾ãã
The newly-released GraalVM changes the status quo in the realm of JVM-based programming languages. In this instalment weâll explore its impact on Clojure. Weâll start small, but by the end weâll compile an entire Ring web application into a self-contained native binary. Jan StÄpieÅ GraalVM is a fascinating piece of technology. This newly-released just-in-time compiler allows efficient execution an
ãªãªã¼ã¹ãé害æ å ±ãªã©ã®ãµã¼ãã¹ã®ãç¥ãã
ææ°ã®äººæ°ã¨ã³ããªã¼ã®é ä¿¡
å¦çãå®è¡ä¸ã§ã
j次ã®ããã¯ãã¼ã¯
kåã®ããã¯ãã¼ã¯
lãã¨ã§èªã
eã³ã¡ã³ãä¸è¦§ãéã
oãã¼ã¸ãéã
{{#tags}}- {{label}}
{{/tags}}