Saturday, July 24, 2010

Compiled languages are too complex

In a talk Thursday at the O'Reilly Open Source Conference, Google distinguished engineer Rob Pike blasted C++ and Java for being overly verbose and too complex.

"I think these languages are too hard to use, too subtle, too intricate," Pike averred. "They're far too verbose and their subtlety, intricacy and verbosity seem to be increasing over time. They're oversold, and used far too broadly."

I tend to agree. Where else but in a language like C would you ever come up with something like:

(*((*(srcPixMap))->pmTable))->ctSeed =
(*((*((*aGDevice)->gdPMap))->pmTable))->ctSeed;
This monstrous line of code is one I used very often in my days of graphics programming on the Mac (circa 1996). On the Mac, the all-important CopyBits() routine always examines the ctSeed field of the source and destination color tables to see if they differ. If the two seed values are not the same, QuickDraw will waste time translating color table info, which you don't want (if you're interested in performance). Hence, you use this line of code to coerce the ctSeed field of the source and destination color tables to the same value. I wrote about this and other tricks for speeding up graphics on the Mac in a 1999 MacTech article.

Of course, the answer to Pike's Complaint is to use dynamic languages like JavaScript or Ruby instead of C++ or Java. But that's not always possible (as when trying to do high-performance graphics programming).

Still, it's surprising how much you can do in JavaScript these days. At the USENIX annual conference last month, Google engineer Adam de Boor raised an eyebrow or two in the audience when he pointed out that Google's Gmail service (443,000 lines of code) is written entirely in JavaScript.

Pike and others at Google are promoting the Go language as a solution to the compiled-language complexity problem.

Go figure.

46 comments:

  1. I just have this energy level that I've never had before. The only thing that's changed is I've started wearing my Power Balance bracelet and nike running shoes
    Power Balance wholesale
    Silly Bands
    Reebok Easytone

    ReplyDelete
    Replies
    1. The development of artificial intelligence (AI) has propelled more programming architects, information scientists, and different experts to investigate the plausibility of a vocation in machine learning. Notwithstanding, a few newcomers will in general spotlight a lot on hypothesis and insufficient on commonsense application. machine learning projects for final year In case you will succeed, you have to begin building machine learning projects in the near future.

      Projects assist you with improving your applied ML skills rapidly while allowing you to investigate an intriguing point. Furthermore, you can include projects into your portfolio, making it simpler to get a vocation, discover cool profession openings, and Final Year Project Centers in Chennai even arrange a more significant compensation.

      Data analytics is the study of dissecting crude data so as to make decisions about that data. Data analytics advances and procedures are generally utilized in business ventures to empower associations to settle on progressively Python Training in Chennai educated business choices. In the present worldwide commercial center, it isn't sufficient to assemble data and do the math; you should realize how to apply that data to genuine situations such that will affect conduct. In the program you will initially gain proficiency with the specialized skills, including R and Python dialects most usually utilized in data analytics programming and usage; Python Training in Chennai at that point center around the commonsense application, in view of genuine business issues in a scope of industry segments, for example, wellbeing, promoting and account.

      The Nodejs Projects Angular Training covers a wide range of topics including Components, Angular Directives, Angular Services, Pipes, security fundamentals, Routing, and Angular programmability. The new Angular TRaining will lay the foundation you need to specialise in Single Page Application developer. Angular Training

      Delete
  2. This comment has been removed by the author.

    ReplyDelete
  3. I feel happy about and learning more about this topic. keep sharing your information regularly for my future reference. This content creates new hope and inspiration within me. Thanks for sharing an article like this. the information which you have provided is better than another blog.
    Best IELTS coaching in Dwarka
    IELTS Coaching in Delhi
    best IELTS Coaching in Delhi

    ReplyDelete
  4. Nice and interesting post. Thank You! For sharing such a great article, I like to read your information you have mentioned in this article are helpful for me.
    Best IELTS coaching in Gurgaon
    IELTS coaching in Gurgaon
    IELTS coaching in rohini
    Best IELTS coaching in rohini

    ReplyDelete
  5. Whenever you need quality Buy Custom Papers help, feel free to inquire about our services from our website. One of the benefits you get by paying for our homework help is quality Purchase Custom Research Paper.

    ReplyDelete
  6. Usually I never comment on blogs but your article is so convincing that I never stop myself to say something about it. You’re doing a great job Man,Keep it up.
    overseas education consultants in delhi
    ielts coaching in gurgaon

    ReplyDelete
  7. Thanks a lot for sharing information.

    https://www.dezinecareers.com/

    ReplyDelete
  8. This post have very relevant content and also helpful.
    Regards,
    IELTS Coaching in Gurgaon

    ReplyDelete
  9. Nice Blog...
    In this blog I got valuable information about ....
    We provide IELTS Coaching in Gurgaon for abroad immigration at Super Achievers Abroad Education.

    ReplyDelete
  10. Nice Blog...
    In this blog I got valuable information about ....
    We provide IELTS Coaching in Gurgaon for abroad immigration at Super Achievers Abroad Education.

    IETLS Classes

    Online PTE Coaching in Gurgaon

    IELTS Training

    IELTS Coaching classes Gurgaon

    ReplyDelete
  11. I have to say that you are on the right track. This will be loved by several individuals as it is detailed and interesting. All the best for your future work.
    https://www.acte.in/ielts-coaching-chennai
    https://www.acte.in/german-classes-in-chennai
    https://www.acte.in/gre-coaching-classes-in-chennai
    https://www.acte.in/toefl-coaching-in-chennai
    https://www.acte.in/spoken-english-classes-in-chennai

    ReplyDelete
  12. http://jumperads.unblog.fr/2017/04/15/%d8%b4%d8%b1%d9%83%d8%a7%d8%aa-%d9%86%d9%82%d9%84-%d8%a7%d9%84%d8%b9%d9%81%d8%b4-%d8%a8%d8%ac%d8%af%d8%a9/
    http://jumperads.unblog.fr/2017/03/23/%d8%b4%d8%b1%d9%83%d8%a9-%d8%aa%d9%86%d8%b8%d9%8a%d9%81-%d9%81%d9%84%d9%84-%d8%a8%d9%8a%d9%86%d8%a8%d8%b9-%d9%85%d8%aa%d8%ae%d8%b5%d8%b5%d8%a9/
    http://jumperads.unblog.fr/2017/03/23/%d8%b4%d8%b1%d9%83%d8%a9-%d9%85%d9%83%d8%a7%d9%81%d8%ad%d8%a9-%d9%88%d8%aa%d9%86%d8%b8%d9%8a%d9%81-%d8%a8%d8%a7%d9%84%d9%82%d8%b5%d9%8a%d9%85/
    http://support.wikipad.com/hc/en-us/community/posts/214559303-%D8%B4%D8%B1%D9%83%D8%A9-%D9%86%D9%82%D9%84-%D8%A7%D8%AB%D8%A7%D8%AB-%D8%A8%D8%A7%D9%84%D8%B1%D9%8A%D8%A7%D8%B6
    http://support.wikipad.com/hc/en-us/community/posts/115017569203-%D8%B4%D8%B1%D9%83%D8%A9-%D9%86%D9%82%D9%84-%D8%B9%D9%81%D8%B4-%D8%A8%D8%AC%D8%AF%D8%A9
    http://wiki.thc-game.com/Benutzer_Diskussion:Khairyayman#.D8.B4.D8.B1.D9.83.D8.A9_.D9.86.D9.82.D9.84_.D8.B9.D9.81.D8.B4_.D8.A8.D8.A7.D9.84.D8.B1.D9.8A.D8.A7.D8.B6
    http://support.wikipad.com/hc/en-us/community/posts/115009075446-%D8%A7%D9%87%D9%85-%D8%B4%D8%B1%D9%83%D8%A7%D8%AA-%D9%86%D9%82%D9%84-%D8%B9%D9%81%D8%B4-%D8%A8%D9%85%D9%83%D8%A9

    ReplyDelete
  13. The Article are written by the author are very informative and have a unique idea to share. Thanks for sharing this Information with us.
    We provide english speaking institute in gurugram at very resonable price with 100% Sucess rate by AIBEDUCATION.

    ReplyDelete
  14. Wow Nice Blog!
    Hey guys, If you're planning for immigration, Choose Novusimmigrationchennai canada pr consultant in chennai, for all your Immigration Process

    Novus Immigration Chennai

    ReplyDelete
  15. The Article written by author is very informative and have a unique idea to share. Thanks for sharing this Information with us.

    We are one of the best dentists Rockhampton  providing affordable services

    ReplyDelete
  16. The Article written by author is very informative and have a unique idea to share. Thanks for sharing this Information with us.

    We are one of the best dentists Hornsby  providing affordable services.

    ReplyDelete
  17. Thank you for your outstanding article. Our goal is to offer top-class specialized services to you that create a fruitful, long-lasting relationship between us. Our excellent real estate portfolio management is the reason why our clients become like family. We provide the Great Deals and Discounts on Ace Divino 3 BHK Flats, 4 BHK Flats, Apartments, Penthouse, Corporate Properties, Commercial Properties in Noida, Greater Noida West, Delhi NCR. Learn more about Investmango: visit our website and call now: +918076042671

    ReplyDelete

  18. The post was appriciative. This will help reader to get information. Thanks for sharing this Information with us. We provide Stock Market tips for Commodity Tips And share market tips by Sharetipsinfo

    ReplyDelete
  19. Thank you for sharing this amazing content

    If you are looking for a reliable cosmetic Dentist Rockhampton, North Rocky Dental is the best option.

    ReplyDelete
  20. If you are looking for a reliable plumber in Mornington, Mornington Jetting is the best option.

    ReplyDelete
  21. MakeMyWebsite is a Award-winning website design company in Sydney, Australia. We offers Affordable Custom web design and development services in Sydney. Our agency specializing in creating conversion driven user-centric websites and Our approach towards web design Sydney is unconventional as we leave no stone unturned to provide you with a finished product that you anticipated.
    web design company Sydney

    ReplyDelete
  22. MakeMyWebsite is a Award-winning website design company in Brisbane, Australia. We offers Affordable Custom web design and development services in Brisbane. Our agency specializing in creating conversion driven user-centric websites and Our approach towards web design Brisbane is unconventional as we leave no stone unturned to provide you with a finished product that you anticipated.
    web design brisbane website design brisbane

    ReplyDelete
  23. We provide a Structural Wall Removal service and ensure the job is completed in a timely, efficient and safe manner.
    Structural Wall Removal is part of the Expert Building and Trades group and is an established company that provides holistic wall removal services and all building related requirements for its clients.
    Whilst maintaining high standards of workmanship, we strive for customer satisfaction at all times.We are registered residential and commercial builders.

    ReplyDelete
  24. Roadseal Civil has a waterproof, durable and flexible driveway sealing solution for you with its hot spray and seal bitumen application. Our Sprayseal Melbourne is a tried and trusted technique for sealing medium to low-traffic volume areas, such as driveways, roads, car parks and pathways.

    ReplyDelete
  25. Learning to drive can be one of the most daunting ordeals that people have to go through. To help you out and to find the Driving School that’s right for you, we have a team to teach all their students the right techniques and knowledge so that they can be safe on the road.

    ReplyDelete
  26. KKEYDOS is one of the leading iOS App development company in India especially focused on offshore iOS app development services.
    Our team has made better contributions in compared to other ios app development agency in India. KKEYDOS is a mobile app development company with over a decade of experience in iOS app development services.

    ReplyDelete

  27. IntelliMindz is the best IT Training in Chennai with placement, offering 200 and more software courses with 100%
    Placement Assistance.Start learning with us intellimindz, and became an expert in sap mm training in Chennai.
    contact 9655877577 for more details.
    SAP HR tranining chennai
    SAP HANA training chennai
    SAP SCM training in chennai
    SAP BO training in chennai
    SAP PP training chennai

    ReplyDelete
  28. IntelliMindz is the best IT Training in Chennai with placement, offering 200 and more software courses with 100%
    Placement Assistance. Start learning with us intellimindz, and became an expert in sap mm training in Chennai.
    contact 9655877577 for more details.
    SAP MM training in Chennai
    SAP SD training in chennai
    SAP FICO training in chennai
    SAP Ariba training in chennai
    SAP ABAP training in chennai

    ReplyDelete

Add a comment. Registration required because trolls.