2021-01-01ãã1å¹´éã®è¨äºä¸è¦§
2021 å¹´ã¯ä½ãã§ããªãã£ãããã®å¤ãã¯ãã¤ç ã®ããã«ããæ°ãç¡ããªã£ã¦ããã¨ãåå ã§ãããããã¯ä»ãå¤ãããªãã ä¸å¹´ãã¤ç ãã²ã©ããªã£ãã®ã¯ãä»äºããããã¦ããéã«ä½åº¦ãééããçªç¶é£çµ¡ãã¨ããªããªãä¼æ¥ã®ãããã§ããã ä¸æ¡ç¨ã«ããããã â¦
表è¨ã®éãã Gradle ãã©ã°ã¤ã³ã® graalvm-native-image-plugin ã® v1.4.0 ããªãªã¼ã¹ãã¾ããã plugins.gradle.org ãã®ãªãªã¼ã¹ã§ã¯ä»¥ä¸ã®æ©è½ã追å ããã¾ããã ã·ã§ã¢ã¼ãã©ã¤ãã©ãªã¼ããã«ãããæ©è½(Java11 以éã®ã¿) ä¸è¨ã®æ©è½è¿½å ã«ä¼´ãã natiâ¦
Windows ç°å¢ã«ã¦ã graalvm-native-image-plugin ãå©ç¨ãã¦ããéã«ãã¿ã¤ãã«ã«ãããããªã¨ã©ã¼ãçºçãããã¨ãããããã§ãã github.com ã©ã®ãããªå½¢ã«ããã®ãè¯ãã解決æ¹æ³ãæ¤è¨ä¸ã§ãããä¸æçã«åé¿ããæ¹æ³ã¨ãã¦ã jar ã® Class-Path ã¢ãâ¦
graalvm-native-image-plugin ã®ãã¼ã¸ã§ã³ v1.3.0 ããªãªã¼ã¹ãã¾ããããã®ãªãªã¼ã¹ã§ã¯ã native-image-agent ã§çæããã serialization-config.json ãã¡ã¤ã«ã®ãã¼ã¸ã SerializationConfigurationFiles ãªãã·ã§ã³ã®ãµãã¼ãã追å ãã¾ããã以ä¸ã®â¦
ã¿ã㪠Java ãã£ã¦ãï¼ ã©ã¼ã mike ã§ãï¼ GraalVM ç·¨ã第XX話㯠GraalVM ã®ã¨ã¯ã¹ããªã¡ã³ã¿ã«ãªãããã¯ã espresso Java bytecode ã Java ã®ä¸ã§å®è¡ï¼ï¼ ã¤ãã«ã試ãã¦ã¿ããã ããã§ã¯ãã¹ã¿ã¼ãï¼ï¼ï¼ (以ä¸ãæè¿ãæ°ã«å ¥ãã®ã¦ã¼ãã¥ã¼ãã¼ã®åâ¦
家ãè¿ãã®ã§ 第6åReactive System Meetup in 西æ°å®¿ ã«åå ãã¦ãã
ServiceLoader 㧠provide ã¨ããã¹ã¿ãã£ãã¯ã¡ã½ãããæã£ãã¯ã©ã¹ãããã¤ã³ã¹ã¿ã³ã¹ãåå¾ã§ãã
Java9 ã®ã¢ã¸ã¥ã¼ã«ãå©ç¨ãã㨠`provide ... with ...` ãã£ã¬ã¯ãã£ãã«ãã£ã¦ provider configuration ãã¡ã¤ã«(`META-INF/services/xxx.yyy`) ãæ¸ããªãã¦ã `ServiceLoader` ã§ã¤ã³ã¹ã¿ã³ã¹ãåå¾ã§ãã
å¤åãæ¥æ¬ã§1,000,000çªç®ã« Java ã®ã¢ã¸ã¥ã¼ã«ã·ã¹ãã ã«è©³ãã人éã«ãªããæ°ãããâ å¼ããããæç° (@mike_neck) 2021å¹´2æ18æ¥ GraalVM ã® native-image ã§ã javac ã®ãã¤ãã£ãã¤ã¡ã¼ã¸ãä½æããéã«ã JavacTool(JavaCompiler ã®å®è£ ã¯ã©ã¹) ã¨ãâ¦