Re: Symantec has been sold to Broadcom
On Thursday, 8 August 2019 at 23:46:38 UTC, Walter Bright wrote: https://finance.yahoo.com/news/broadcom-buy-symantec-enterprise-division-201706500.html It's the end of an era. Symantec bought my company, Zortech, and now is bought in return. The D community, and myself personally, owe a debt of gratitude to Symantec. Thank you, Symantec! For those who haven't see Symantec C++ product before, behold https://photos.app.goo.gl/WLMtgvoj9JPmZ8VPA Just above "VERSION 7" you'll see the golden ticket! "SYMANTEC New Product 1" Oh, and its still in its shrink wrap :) Patrick
JavacTo - translate java source to D
Hello, I'm pleased to announce a new java prototype application that is designed to translate java source into D source. Or any other language that support package, class, interface, and enum constructs and provides a built in memory garbage collection. Supporting D with JavacTo was my first choice! JavacTo available at: https://sourceforge.net/projects/javacto/ Please see the "How To use JavacTo.pdf" part of the download package for more information. This tool is designed to explore the challenges faced in translating from one language to another. For example what type of code is suitable for auto-translation and what code will required complete rewrite? What level of automation can be expected? What java packages should be translated and what packages can be skipped? Are helper classes a good approach in bridging java to other language specific features? These are just a few questions that I've been working on as I've been writing this tool. I think JavacTo is a good starting point for people who are interested in this topic. IMHO moving java opensource projects to D has the potential to be an incredible win for the D language/community. Patrick
New version of JavacTo available.
Please to announce: A new version of JavacTo available for download. Version 1.1 https://sourceforge.net/projects/javacto/ Features: * Updated JavacToD visitor. Almost 100% parsing success with dscanner and JDK package subset (see results below). * Updated JavacToJava visitor. * Source and Target Text pane mouse click integration with List and Tree views. Click in a text pane and the list and tree view will update with the related visitor node. Very cool. * New search capabilities. Text and Tree.Kind search. * Support for command line translation (non-UI, very fast). * Target highlighting is now automatic (matches java source highlighting). No need to add code to highlight. In fact, manually highlighting code is discouraged. * Process dialog when reading large .zip/.jar files. * Other UI enhancements. Results with dscanner: Package Total files Failed java.util 362 15 java.math 8 1 java.net78 0 java.nio126 1 java.io 83 0 java.lang 219 4 Success is attributed to dscanner providing no output when parsing a file. Failures are all attributed error output from: * Java’s hybrid enum definition. (Which I believe will take a D enum and custom class to implement.) * Java’s lambda method definition. Successful parsing with dscanner I believe is a major milestone for JavacTo. This suggests a good percentage of java code can be automatically translated to D. Clearly this is not a definitive statement just yet, but an encouraging move in the right direction. Dscanner can now be used to format the JavacToD generated code for code review. And critique the quality of the code generated (or worse, the quality of the java code :). It’s clear the next step is to successfully compile the code. With effort working towards a successful compile, there's no doubt more changes are in store for the JavacToD visitor code. In addition, I’m anticipating some hand editing of the generated code will be required while other code will be thrown out. Perhaps helper code will be warranted as well. In any case, we'll see where the compiler takes us as we work towards a weighted balance of auto-generated code to hand editing. Anyway, to be clear, the current objective (hope) is to create a D library based on java JDK subset listed above (or something close to it). This library can then be used as the bases for translating other open source java projects to D. So… more work to be done. Patrick