Click here to Skip to main content
15,885,546 members

The Insider News

   

The Insider News is for breaking IT and Software development news. Post your news, your alerts and your inside scoops. This is an IT news-only forum - all off-topic, non-news posts will be removed. If you wish to ask a programming question please post it here.

Get The Daily Insider direct to your mailbox every day. Subscribe now!

 
GeneralRe: Privacy browser Brave under fire for violating users’ trust Pin
Nelek8-Jun-20 21:03
protectorNelek8-Jun-20 21:03 
GeneralRe: Privacy browser Brave under fire for violating users’ trust Pin
F-ES Sitecore9-Jun-20 2:09
professionalF-ES Sitecore9-Jun-20 2:09 
GeneralRe: Privacy browser Brave under fire for violating users’ trust Pin
MadMyche10-Jun-20 4:48
professionalMadMyche10-Jun-20 4:48 
NewsFacebook’s TransCoder AI converts code from one programming language into another Pin
Kent Sharkey8-Jun-20 12:45
staffKent Sharkey8-Jun-20 12:45 
GeneralRe: Facebook’s TransCoder AI converts code from one programming language into another Pin
Joe Woodbury8-Jun-20 13:32
professionalJoe Woodbury8-Jun-20 13:32 
GeneralRe: Facebook’s TransCoder AI converts code from one programming language into another Pin
Kornfeld Eliyahu Peter8-Jun-20 20:44
professionalKornfeld Eliyahu Peter8-Jun-20 20:44 
GeneralRe: Facebook’s TransCoder AI converts code from one programming language into another Pin
Nelek8-Jun-20 21:05
protectorNelek8-Jun-20 21:05 
GeneralRe: Facebook’s TransCoder AI converts code from one programming language into another Pin
kalberts8-Jun-20 22:00
kalberts8-Jun-20 22:00 
My first project after I completed my degree, in the early 1980s, was to use a translation tool for converting the code base from Pascal to a proprietary language. The company saw that as a way to protect their code from being stolen by competitors.

The major lesson learned was that we would have saved a lot of time doing the complete rewrite by hand, without a translation tool. The translator (usually) created "correct" code, but so far from the way a human mind would have written it that it was almost umaintainable without thorough manual cleanup. Comments were "preserved", but not in the right place. Due to varying identifier syntaxes, many identifiers looked like those created by name mangling for overloaded functions - you don't want to work with that sort of names. The target language had some very nice constructs that every programmer would utilize to save a lot of code compared to the Pascal source, but the translator wasn't capable of recognizing those Pascal structures that would match the target mechanisms, or that might match with a few minor adjustments (the way a human translator would have done it).

35+ years later, I guess translators have improved. Yet, my bad experience with them makes me sceptical. It may work if the languages are reasonably similar, such as C++/C# translation, but the further apart the languages are, the less useful will the translation be.
GeneralRe: Facebook’s TransCoder AI converts code from one programming language into another Pin
Sander Rossel8-Jun-20 22:26
professionalSander Rossel8-Jun-20 22:26 
GeneralRe: Facebook’s TransCoder AI converts code from one programming language into another Pin
honey the codewitch9-Jun-20 2:44
mvahoney the codewitch9-Jun-20 2:44 
GeneralRe: Facebook’s TransCoder AI converts code from one programming language into another Pin
Sander Rossel9-Jun-20 3:03
professionalSander Rossel9-Jun-20 3:03 
GeneralRe: Facebook’s TransCoder AI converts code from one programming language into another Pin
honey the codewitch9-Jun-20 3:15
mvahoney the codewitch9-Jun-20 3:15 
GeneralRe: Facebook’s TransCoder AI converts code from one programming language into another Pin
Mycroft Holmes9-Jun-20 12:48
professionalMycroft Holmes9-Jun-20 12:48 
GeneralRe: Facebook’s TransCoder AI converts code from one programming language into another Pin
Dan Neely9-Jun-20 2:21
Dan Neely9-Jun-20 2:21 
GeneralRe: Facebook’s TransCoder AI converts code from one programming language into another Pin
kmoorevs9-Jun-20 10:14
kmoorevs9-Jun-20 10:14 
NewsTechnical Writing Courses Pin
Kent Sharkey8-Jun-20 11:15
staffKent Sharkey8-Jun-20 11:15 
NewsWindows 10 is nagging users with full-screen setup prompts Pin
Kent Sharkey8-Jun-20 11:16
staffKent Sharkey8-Jun-20 11:16 
GeneralRe: Windows 10 is nagging users with full-screen setup prompts Pin
Joe Woodbury8-Jun-20 13:35
professionalJoe Woodbury8-Jun-20 13:35 
NewsMIT fit tens of thousands of artificial brain synapses on a single chip Pin
Kent Sharkey8-Jun-20 10:45
staffKent Sharkey8-Jun-20 10:45 
GeneralRe: MIT fit tens of thousands of artificial brain synapses on a single chip Pin
Daniel Pfeffer8-Jun-20 19:57
professionalDaniel Pfeffer8-Jun-20 19:57 
News25 years of PHP: The personal web tools that ended up everywhere Pin
Kent Sharkey8-Jun-20 8:30
staffKent Sharkey8-Jun-20 8:30 
GeneralRe: 25 years of PHP: The personal web tools that ended up everywhere Pin
Sander Rossel8-Jun-20 22:21
professionalSander Rossel8-Jun-20 22:21 
NewsC# 9: Partial method enhancements for source generators Pin
Kent Sharkey8-Jun-20 8:15
staffKent Sharkey8-Jun-20 8:15 
NewsVulnerabilities in popular open source projects doubled in 2019 Pin
Kent Sharkey8-Jun-20 8:15
staffKent Sharkey8-Jun-20 8:15 
GeneralRe: Vulnerabilities in popular open source projects doubled in 2019 Pin
Nelek8-Jun-20 19:40
protectorNelek8-Jun-20 19:40 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.