{"id":1147,"date":"2019-10-18T02:34:14","date_gmt":"2019-10-18T02:34:14","guid":{"rendered":"http:\/\/www.onux.com\/jspp\/blog\/?p=1147"},"modified":"2019-10-18T03:04:23","modified_gmt":"2019-10-18T03:04:23","slug":"jspp-0-9-2-final-variables-mac-os-x-catalina-64-bit-defaults","status":"publish","type":"post","link":"https:\/\/www.onux.com\/jspp\/blog\/jspp-0-9-2-final-variables-mac-os-x-catalina-64-bit-defaults\/","title":{"rendered":"JS++ 0.9.2: &#8216;final&#8217; variables and macOS Catalina 64-bit Defaults"},"content":{"rendered":"<p>JS++ 0.9.2 is now available for download and features <code>final<\/code> variables and fields. Additionally, due to Apple&#8217;s decision to stop supporting 32-bit applications beginning with macOS Catalina, we have changed the default binary to the 64-bit compiler for Mac.<\/p>\n<p><code>final<\/code> variables can now be used:<\/p>\n<pre class=\"brush:jspp\">\r\nimport System;\r\n\r\nfinal int x = 1;\r\nConsole.log(x);\r\n<\/pre>\n<p><code>final<\/code> can also be applied to fields:<\/p>\n<pre class=\"brush:jspp\">\r\nimport System;\r\n\r\nclass Foo\r\n{\r\n    public static final int bar = 1;\r\n    public int baz = 2;\r\n}\r\n\r\nConsole.log(Foo.bar);\r\nConsole.log((new Foo).baz);\r\n<\/pre>\n<p>The <code>final<\/code> keyword, when applied to a class or method, had already been implemented in previous versions.<\/p>\n<p>macOS Catalina (released Oct 7, 2019) has ended support for 32-bit applications. Previously, JS++ distributed a 32-bit build of the compiler as the default for universality. Going forward, we will be distributing the 64-bit build as the default for macOS. If you still need the 32-bit binary, it is included with all releases going forward as the <code>js++-x32<\/code> binary. All guides and tutorials have been updated.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>JS++ 0.9.2 is now available for download and features final variables and fields. Additionally, due to Apple&#8217;s decision to stop supporting 32-bit applications beginning with macOS Catalina, we have changed the default binary to the 64-bit compiler for Mac. final variables can now be used: import System; final int x = 1; Console.log(x); final can &hellip; <a href=\"https:\/\/www.onux.com\/jspp\/blog\/jspp-0-9-2-final-variables-mac-os-x-catalina-64-bit-defaults\/\" class=\"more-link\">Continue reading<span class=\"screen-reader-text\"> &#8220;JS++ 0.9.2: &#8216;final&#8217; variables and macOS Catalina 64-bit Defaults&#8221;<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":[],"categories":[2,4],"tags":[],"_links":{"self":[{"href":"https:\/\/www.onux.com\/jspp\/blog\/wp-json\/wp\/v2\/posts\/1147"}],"collection":[{"href":"https:\/\/www.onux.com\/jspp\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.onux.com\/jspp\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.onux.com\/jspp\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.onux.com\/jspp\/blog\/wp-json\/wp\/v2\/comments?post=1147"}],"version-history":[{"count":4,"href":"https:\/\/www.onux.com\/jspp\/blog\/wp-json\/wp\/v2\/posts\/1147\/revisions"}],"predecessor-version":[{"id":1151,"href":"https:\/\/www.onux.com\/jspp\/blog\/wp-json\/wp\/v2\/posts\/1147\/revisions\/1151"}],"wp:attachment":[{"href":"https:\/\/www.onux.com\/jspp\/blog\/wp-json\/wp\/v2\/media?parent=1147"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.onux.com\/jspp\/blog\/wp-json\/wp\/v2\/categories?post=1147"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.onux.com\/jspp\/blog\/wp-json\/wp\/v2\/tags?post=1147"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}