Slashdot Mirror


Morfik Patents AJAX Compiler

MikeyTheK writes "It appears that under the radar, the USPTO granted Morfik a patent for the "System and method for synthesizing object-oriented high-level code into browser-side javascript". Reading further, it appears that they have patented the compiling of high-level languages into AJAX apps. The high-level languages include "Ada, C, C++, C#, COBOL, ColdFusion, Common Lisp, Delphi, Fortran, Java, Object Pascal, SmallTalk, Visual Basic, and Visual Basic.NET". It would appear that the application date is September, 2005."

38 of 181 comments (clear)

  1. My First Thought by AKAImBatman · · Score: 4, Insightful

    My first thought was, "Is Google Web Toolkit prior art or infringement?" After a bit of looking around, it seems this patent was filed on September 5, 2006 while GWT 1.0 was released in May 2006. Sorry Morfik, but your patent is invalid. (Thank God, too. This patent appears to be overreaching and far too broad. It could prevent an entire industry from developing.)

    All I can say is: where was your due diligence, Morfik? It doesn't make a whole lot of sense to spend time and money on filing a patent that will be useless to you after it's granted. The best they could do is scare a few Open Source projects into submission. Anyone with a vested interest in the technology is going to do the due diligence that Morfik didn't, and take the matter to court.

    The only "out" they have available is to show evidence that they disclosed the inner workings of their JST product prior to GWT being released. In which case they might have protection from the "one year to file" rule. Maybe. Or maybe they're just trying to carry out this threat in a laughably oversimplified fashion. (They're lawyers must be telling them it won't work?) Go figure.

    For those who are unaware of what GWT is, it's basically a toolkit that takes Java programs and converts them down to Javascript. By coding Java to the GWT toolkit*, you gain all the benefits of the Java compiler and type checking without sacrificing the ability to deploy on browsers that do not have Java installed. I'd rather code in Javascript myself, but it has its place. :)

    1. Re:My First Thought by MikeyTheK · · Score: 5, Informative

      Unfortunately I didn't put "Pay attention to [0001]" in the article submission, which reads "This application relates to U.S. Provisional Patent Application No. 60/714,285 filed on Sep. 6, 2005 entitled SYSTEM AND METHOD FOR SYNTHESIZING OBJECT-ORIENTED CODE INTO BROWSER-SIDE JAVASCRIPT."

      That's 2005, not 2006.

      --
      Friends help you move. Real friends help you move bodies.
      Never forget: 2 + 2 = 5 for extremely large values of 2.
    2. Re:My First Thought by petard · · Score: 4, Informative

      GWT would still be prior art. Google used it to build gmail, which launched in early 2004.

      --
      .sig: file not found
    3. Re:My First Thought by AKAImBatman · · Score: 2, Interesting

      Did I ever mention that I HATE the patent search system?

      In any case, I managed to pull the patent. (Search in published applications for application #20070055964) It looks like this is the exact same patent, just in different forms. (One an application while the other is the issued? Could someone who knows more about the filing process chime in here?) In which case, Morfik may have a valid patent. It will be interesting to see how this plays out.

    4. Re:My First Thought by Daniel+Dvorkin · · Score: 3, Insightful

      Surely there's a point where failure to perform due diligence is itself an offense? I mean, come on; anyone in IT could tell them (and could have told them in 2005) that there's a ton of prior art. If I patent "a method of preserving food by keeping it cold" and try to excuse my stupidity by saying that I guess I just didn't do enough research to learn about the prior existence of something called a "refrigerator," would anyone buy it?

      --
      The correlation between ignorance of statistics and using "correlation is not causation" as an argument is close to 1.
    5. Re:My First Thought by The_Wilschon · · Score: 2, Funny

      If I patent "a method of preserving food by keeping it cold" . . . would anyone buy it?
      The USPTO would.
      --
      SIGSEGV caught, terminating

      wait... not that kind of sig.
  2. Well, if this keeps people from making C into JS by istartedi · · Score: 5, Funny

    Then maybe the patents aren't such a bad thing.

    --
    For all intensive purposes, "whom" is no longer a word. That begs the question, "who cares"?
  3. Don't even think it. by Seumas · · Score: 3, Funny

    I swear, I will set fire to the first bastard to reply to this article with "dur dur... I'm going to patent blank"!

    1. Re:Don't even think it. by Viceroy+Potatohead · · Score: 4, Funny

      That's silly. No-one can patent blank. It belongs to everybody!

    2. Re:Don't even think it. by rubycodez · · Score: 2, Funny

      that's you. are ya gonna do the "protesting Buddhist monk self immolation with a can of gasoline and match" trick? Need a light?

    3. Re:Don't even think it. by mwvdlee · · Score: 2, Funny

      Why?
      Did you patent the "dur dur... I'm going to patent blank" line?

      --
      Slashdot social media options: AIM, ICQ, Yahoo, Jabber and Mobile Text. Why no MySpace?
    4. Re:Don't even think it. by Pichu0102 · · Score: 2, Funny

      Don't you worry about patents. Let me worry about blank.

  4. ya know by hansoloaf · · Score: 3, Funny

    April Fools Day is over.

  5. Turing Completeness? by Anonymous Coward · · Score: 4, Insightful

    Shouldn't any technology like this be immediately unpatentable? All this does is translate code in one Turing-complete language to another. Since this transformation is mathematically proven to be possible for all Turing-complete languages, this is merely an algorithm and should be unpatentable...

    (I know, they'd approve a patent on cheese if you worded it as "a method for transforming milk and bacteria into edible food product.")

    1. Re:Turing Completeness? by MillionthMonkey · · Score: 2, Informative

      this is merely an algorithm and should be unpatentable...

      If it's an algorithm, it's been firmly established legally that it is patentable. It transforms a computer from a "general purpose device" into a "specific invention". Any lawyer will tell you this. Patents are granted for algorithms all the time and they cannot be challenged on that basis.

      If you write a book, you transform hundreds of sheets of blank pages into a device for keeping you absorbed for a few hours, but they won't let you patent that for some reason having nothing to do with "prior art" since there is no prior art if you're the first to write a book with the given plot, premise, or subject. I can claim copyright no matter what I write (as long as I don't plagiarize) but if I'm the first to come up with a book about a superhero who gets his superpowers only when he smokes pot (so running out of money is like "kryptonite"), you'd think I'd be able to get a patent on all books involving serial killers who have to smoke quickly in phone booths to save people. But nooooooo, they'll let you schmucks rewrite my book.

  6. Re:Turing tarpit by TheTempest · · Score: 2, Informative

    GWT does it and very well indeed. I've cross-compiled MD5 hash code to javascript and it works fine. I'd rather not port that manually since I already have perfectly good Java code for it.

    --
    -Dave
  7. NOT A PATENT by thebdj · · Score: 5, Informative

    There is not a patent here. This is a published application. Filed in 2006, not 2005, with priority to 2005 through a provisional application, which almost gives it the same level of priority as if it were file in 2005. Someone wake me up WHEN this gets issued and not when it is just an application that quite possibly hasn't even been viewed yet. (USPTO has almost a 3 yr backlog in some arts.)

    --
    "Some days you just can't get rid of a bomb."
    1. Re:NOT A PATENT by thebdj · · Score: 4, Informative

      There is a hell of a lot more going on then just stamping "approve" on the thing [patent].

      There is a review process where an examiner searches for prior art that matches or closely matches the application. Then, in probably 90% or more of cases, a rejection letter for some or all of the claims is sent to the attorney (or the applicant if filing without an attorney). After a few months, a response from the attorney comes. This can now go one of two ways. If the attorney argued your prior art is not applicable, you can 1) uphold your decision, in which it become a "final rejection" or 2) change your rejection in which case you basically repeat the first step again.

      The other method is they pre-date your prior art, using proof of older design date, if your rejection wasn't under 102(b) that is. You can now write a rejection with new prior art and this becomes a "final rejection". However, these "final rejections" are not the end of the process. They can either make a last ditch effort to amend to your liking (and probably get their "stamp"), they can basically repay the filing fees and start over with another two rounds, or they can file an appeal to the Board of Patent Appeals and Interferences (BPAI, I think that is right.). If they still don't like the decision they can appeal to the CAFC (Court of Appeals for the Federal Circuit), and in the very unlikely case, all the way to the Supreme Court.

      I recommend three pieces of literature before you say they just stamped "approve" on everything. Read title 35 of the United States Code (35 USC), title 37 of the Code of Federal Regulation (37 CFR), and the Manual for Patent Examining Procedure (MPEP). I am pretty sure that is the right CFR, but all of those documents will give you an idea of what a patent examiner deals with. I gave you a very rough and very brief explanation of the procedure above. And to end this, I was a Patent Examiner, so yes, I do know something about this.

      --
      "Some days you just can't get rid of a bomb."
  8. Re:Turing tarpit by AKAImBatman · · Score: 3, Informative

    Can you make a self modifying javascript application?

    Yes. Next question?
  9. ColdFusion? by bigblackcar · · Score: 2, Insightful

    Since when is ColdFusion a high-level language? Just because they use it in MySpace?

  10. Compiler definition by Jerf · · Score: 2, Insightful

    The definition of a compiler seems to differ from person to person, but the best one is something that reads a stream of input, converts it into a richer internal representation (usually a tree but it doesn't have to be), and writes out a different stream based on this internal representation.

    Even here in 2007, some people still seem to think the only thing that can be called a compiler is something that takes source code and emits binary code, but that's just one specific special case. The same basic principles that GCC uses will be used by PovRAY to compile its scene language into an image, ignoring the raytracing part. (That is, setting up the internal representation of the scene is just like a compiler.) Compiling C# into IL uses the same basic techniques. Defining anything that uses standard compiler techniques as a compiler is the motivation for my preferred definition.

    Given the long history of compilers, and the sheer profusion of them, I really don't think that compilers ought to be patentable anymore. Compiling Java into Javascript isn't a novel idea, it's "just" some engineering by somebody who understands compilers. (Which the recent "Wasabi" uproar over Joel on Software's posting proved is not all that many people, but still, it's simple once you see the tricks.) The only even remotely tricky part of such a compilation is if there's no easy way to get the syntax tree directly from the language parser, and that's still just engineering. There's definitely plenty of copyrightable stuff in such a compiler, but it'd take something very, very novel for it to be patentable.

    (Note I'm writing this message as if I weren't entirely against software patents, which I am, at length. This is written from the putative point of view of the patent system; even then, compilers generally aren't that novel an idea. Saying "with a compiler!" is up there with "on the internet!" for novelty.)

    1. Re:Compiler definition by Tim+Browse · · Score: 2, Insightful

      Compiling Java into Javascript isn't a novel idea, it's "just" some engineering by somebody who understands compilers.

      Indeed, but sadly not many programmers do understand compilers. (And even fewer understand linkers.)

      Other examples are CFront (the first C++ compiler) which just compiled C++ into straight C, which was then compiled by an existing C compiler, and the first Modula-3 compiler, which also just compiled to raw C.

      I myself have written a compiler that took a scripting language in our game editor, compiled it to C, linked the C code into a DLL, loaded the DLL into the game editor, and ran the code all in a single UI step (in the late 90s - and I figured these techniques were pretty old hat at the time).

      Like you say, deciding to compile to Javascript is hardly a new and fantastic innovation.

  11. Re:Economic Model by anomalous+cohort · · Score: 2, Informative

    The MSFT technology that the poster is referring to used to be marketed as Atlas but no longer. It is not in violation of this patent because it does not compile server side code into client side java script. Instead, it provides a lot of web controls that use AJAX instead of the traditional ASP.NET form post to interact with the server.

  12. yaccety yacc by Bastard+of+Subhumani · · Score: 5, Interesting

    For all the handwaving and buzzwords in the application, it converts code written in language foo into language bar. That's a compiler. Now if they want to patent (copyright's possibly more appropriate?) their specific individual implementation of a compiler, then let them get on with it. If they want to patent compilers as a concept they can stuff it and I don't think they have a hope.

    --
    Only three things are certain; death, taxes, and apocryphal quotations - Ben Franklin.
    1. Re:yaccety yacc by Dausha · · Score: 2, Interesting

      "it converts code written in language foo into language bar."

      It reads like what I've seen done for years: having a program (e.g. PHP-based) that produces javascript or calls to javascript. Heck, I wrote something like that as recently as 2005. "Compile" could be as simple as building an array of javascript function calls that are then embedded into a web page.

      That said, another case of poor judgment of the USPTO. Last summer I took a class in Patent Law at my law school. The professor showed a patent for a pocket handkerchief folded into a pocket square inserted into the left breast pocket of a suit coat. It was submitted in 2001 and granted that year. Of course, pocket squares have been around for decades, and somebody brought that to the attention of the USPTO, who went back and filled a retraction. The original patent remains, but a follow-on rejects all the claims. I think the same should be done here.

      Truth be told, they need fewer government and more computer geeks working in the computer group of the USPTO, methinks.

      --
      What those who want activist courts fear is rule by the people.
  13. April Fool's! by enharmonix · · Score: 2, Funny

    Yeah, haha, Hemos, you almost had me! OMG PONIES!!!1!! Very clever April Fool's joke! And for the USPTO to be in on it... Wow. Best one yet!

    ...wait a tic, it's April 2nd... WTF?

  14. Slashdot Just DOES NOT GET Patents by Anonymous Coward · · Score: 5, Informative

    For as smart as the people on Slashdot are, it continually surprises me to see just how bad people are missing the boat in terms of what a patent application such as this means. Seriously, discussion here might be elevated from ridiculous to meaningful if everybody would just keep in mind the following things:

    1. The title of a patent does not describe the scope of what the patent will cover. In this example, they are not trying to patent every single "System and method for synthesizing object-oriented high-level code into browser-side javascript." They are trying to patent *one particular, specific system and method* for doing so. That is a big friggin difference. If you read the patent claims, you will see what the patent is actually covering. Summary: People on Slashdot inappropriately freak out when they see a patent title that looks broad and they really ought to know better by now.

    2. This is a patent APPLICATION!!! Not an issued patent. When people try to get a patent, they make the claims incredibly broad at first. And then the examiner will make them narrow the claims as they negotiate what the patent actually will cover. In this example, I am going to hazard a guess that the examiner will probably make them throw out claims 1 through 4. And the examiner might let their broadest claim be claim 5. The people trying to get this patent KNOW that this is what will happen during this process--it is how things are done! I am astounded that the people on Slashdot have not picked up on this yet. Summary: Just because a patent application has incredibly broad claims, that does not mean 1) that the patent will issue that way, or 2) that the people applying for the application realize that what they are in their application claiming is too broad.

    Get with it, people! I hope that reading this may take the discussion here from "Patents suxkzorz!!" to "Well, claim 1 looks way to broad because of $somePriorArt . . . but the method described in claim 5 . . . hmmm, I don't know that I've ever heard of anything that does it that way exactly."

    Here's to hoping, anyway!

    1. Re:Slashdot Just DOES NOT GET Patents by Jaqenn · · Score: 2, Insightful

      If the guys at /. want a primer on patent law, feel free to email me and I would be more than happy to teach them a thing or two. I'm interested. But why do you want to distribute via email instead of just posting? It's just as hard to type as an email as to type as a comment.
      --
      You are awash in a sea of fiercely stated opinions. Obvious exits are: 'File->Quit', 'Reply', and 'Page Down'.
  15. Difference Between Application/Priority Date by blckbllr · · Score: 4, Informative

    In this case, the application was filed September 5, 2006. Thus, the application filing date is September 5, 2006. However, the application claims priority to a provisional application filed September 6, 2005. Thus, the application has a priority date of September 6, 2005. This difference is important for 35 U.S.C. 102(e) purposes.

    Under 35 U.S.C. 102(e), a prior filed U.S. patent or application can be used as "prior art" against a currently filed application. As an example, suppose Application A was filed on March 1, 2006 that discloses each and every limitation of claim 1 of the current application. Application A could then be used under 35 U.S.C. 102(e) as "prior art" to reject claim 1 because it has an earlier filing date (application date) than the current application. However, the Applicant of the current application could then rely on the priority date of the provisional application, which is September 6, 2005, to overcome the rejection. In this case, the Examiner would then have to go back to the provisional application to which the current application claims priority, and determine, whether, in fact, the provisional application discloses the subject-matter claimed by claim 1. As an additional comment to 35 U.S.C. 102(e), I briefly add that it is common for an Examiner to reject a claim in view of a reference that qualifies as "prior art" under 35 U.S.C. 102(e), where the reference is used with other art under 35 U.S.C. 103(a).

    Hence, there is a difference between filing dates and priority dates, and these two dates need not always be the same. So, to say that these application has a filing date of September 5, 2006 would be correct, but then to say that this application has a priority date of September 6, 2005 would also be correct.

    The opinion expressed herein does not represent the views of any government or private organization.

  16. Time to Modernize.... by truckaxle · · Score: 2, Funny

    The high-level languages include "Ada, C, C++, C#, COBOL, ColdFusion, Common Lisp, Delphi, Fortran, Java, Object Pascal, SmallTalk, Visual Basic, and Visual Basic.NET".


    I guess now I am forced to to port all of my FORTRAN AJAX apps over to Perl :)
  17. Re:Turing tarpit by AKAImBatman · · Score: 2, Funny

    time travel?

    Yes. Next question?
  18. This isn't under the radar. Been known about. by Thomas+Charron · · Score: 2, Informative

    This article is so 2006. :-)

    http://blogs.zdnet.com/web2explorer/?p=196 explains the patent back in 2006. No, Morfik didn't copy it. They even hypothetically showed it to Google before GWT was released.

    --
    -- I'm the root of all that's evil, but you can call me cookie..
  19. This was already being done in 2001 by xutopia · · Score: 2

    I worked for b-process.com in 2001 and we implemented exactly this in Java. I also have done similar stuff in PHP since then. It's nothing new.

  20. pypy by nairb774 · · Score: 2, Informative

    All I have to think of is the current progress of the pypy interpreter. They have the ability to take something that is written in RPython and translate it into any backend to the annotator. This currently supports JS among other things. Check out http://codespeak.net/pypy/dist/pypy/doc/news.html

  21. patents reward disclosure, not invention by nanosquid · · Score: 2, Insightful

    It doesn't matter whether they (or anybody) used it before then. The patent system does not reward invention, it rewards disclosure.

    If you invent something and you don't disclose it fully and publicly, you lose your right to use your invention if someone else patents it. That's what the patent system is intended to accomplish.

  22. Re:Could some explain to me why Javascript Java by Tim+Browse · · Score: 2, Insightful

    Here's the process:

    • I hear about web app X. I decide I might be interested.
    • I go to X's web page, and it tells me I need to install a Java VM to run the app.
    • Even if I already have a Java VM, I'm really not interested any more.
    • If I don't have a Java VM, and I'm an ordinary (non-tech) person, I'm pretty much screwed anyway. It depends if Sun have decided to dick around with the Java downloading web pages this month or not.
    • If I'm in an internet cafe, I'm screwed too. And so on.

    Requiring a Java VM is the new "You need VBRUN300.DLL". i.e. a big fecking "Stay Away!" sign.

    Compiling to JavaScript means the process is this:

    • Launch your web browser.
    • You win.
    • The End.
  23. Obviousness, Prior Art, a bad patents by dfoulger · · Score: 3, Interesting

    I read through the whole thing, that this is just a very bad patent. Not bad for people in general. It can't possibly stand up to scrutiny. Its just a bad patent at every level I can think of up to and including "badly written".

    Its a bad patent because it is so "obvious". All they've done is to define JavaScript as as a p-code machine and created a (set of) compiler(s) for translating arbitrary programming languages into JavaScript "p-code". They have, in effect, attempted to patent compilers, albeit in a very limited way. Doing this was extrordinarily obvious, so much so that it wouldn't surprise me if there were hundreds of instances of prior art.

    This may be one reason why the patent is so badly written. A truly general patent would make claims against all possible programming languages, but this one explicitly does not. Almost every claim is tacked down to a specific list of languages, and that list varies from claim to claim. Worse, none of the claims address some of the most widely used web programming langauges, including Perl, RUBY, Python, and PHP. My guess is that either (1) the patent was written by an amateur or (2) that these list variations reflect what they were able to find in their search of prior art. The mere existence of variations in the claims is probably evidence of the obviousness of this patent.

    As for prior art, we've already seen claims of prior art in IBM (1996) and Microsoft (1998) products. That doesn't surprise me at all. I can recall discussing use of a JavaScript translator for an Ajax-like project I was in involved with (at IBM Research) in 1996. We didn't actually do it while I was on the project, but it was an option, and certainly not one that anyone would have believed was in any sense patentable. Appearance of such code in VisualAge during that same time frame would be anything but surprising. That is, for instance, the same time frame in which Mike Cowleshaw is translating REXX into Java p-code while retaining the interpretability of the REXX.

    There are so many other examples of this kind of machine code translation, going all the way back to the original Fortran. I don't see a chance that this patent will hold up to scrutiny.

    --
    Davis http://davis.foulger.net
  24. 1.) Compiler is the wrong term. 2.) Prior Art. by Qbertino · · Score: 2, Informative

    1.) This process is generally regarded as 'generating' rather than compiling. Compiling implies that something is transferred into a lower level language for speed and better runtime integration. Here it's the opposite. Thus: Generating. The servlet (or whatever) does it is generically refered to as 'generator'. Compiling is the wrong term.

    2.) Prior Art. Tons of it. Laszlo and a bunch of other generators have been doing this for years. This patent won't even last a month. To many big players involved in RIA to let it pass. It's about as long lasting (and as silly) as the famous Gary Larson 'Chicken hung by a helium balloon floating into a pub full of Samurai'. Nothing new here, move on.

    --
    We suffer more in our imagination than in reality. - Seneca