Software Alternatives, Accelerators & Startups

Blockly VS C++

Compare Blockly VS C++ and see what are their differences

Note: These products don't have any matching categories. If you think this is a mistake, please edit the details of one of the products and suggest appropriate categories.

Blockly logo Blockly

Blockly is a library for building visual programming editors.

C++ logo C++

Has imperative, object-oriented and generic programming features, while also providing the facilities for low level memory manipulation
  • Blockly Landing page
    Landing page //
    2023-04-18
  • C++ Landing page
    Landing page //
    2023-08-01

We recommend LibHunt C++ for discovery and comparisons of trending C++ projects.

Blockly features and specs

  • User-Friendly
    Blockly offers a highly intuitive and visual interface. Users, especially beginners and non-programmers, can easily drag and drop blocks to create programs without needing to write code manually.
  • Educational Value
    Blockly is excellent for educational purposes. It simplifies the learning curve for programming by abstracting the complexities of syntax, allowing learners to focus on understanding logic and computational thinking.
  • Cross-Language Support
    Blockly can generate code for multiple programming languages (JavaScript, Python, PHP, Lua, Dart). This makes it versatile and useful for teaching and transitioning to various languages.
  • Customizability
    Blockly is highly customizable. Developers can create custom blocks and define their own rules, making it adaptable to various projects and domain-specific needs.
  • Open Source
    As an open-source project, Blockly provides the flexibility to modify and extend the toolkit to fit specific requirements. This open nature encourages community contributions and improvements.

Possible disadvantages of Blockly

  • Limited Complexity
    Blockly is designed for simplicity and may not handle very complex programming tasks efficiently. Advanced users might find it insufficient for sophisticated or large-scale projects.
  • Performance Overhead
    The visual programming model can introduce performance overhead. Converting blocks to executable code and running it can be less efficient compared to hand-written code, especially for performance-critical applications.
  • Learning Transition
    While Blockly is great for beginners, transitioning from block-based programming to traditional text-based coding can be challenging. Users may need additional guidance to adapt to the intricacies of syntax and coding best practices.
  • Limited Debugging Tools
    Blockly does not offer advanced debugging tools. Debugging issues can be more challenging compared to traditional IDEs that provide sophisticated debugging capabilities.
  • Scalability Issues
    For large projects, the block-based approach can become unwieldy and harder to manage compared to traditional text-based code which can be more neatly structured and maintained.

C++ features and specs

  • Performance
    C++ is known for its high performance which is critical in resource-constrained applications such as gaming, real-time systems, and simulations.
  • Control
    C++ offers fine-grained control over system resources such as memory and CPU, allowing for efficient and optimized code.
  • Object-Oriented Programming (OOP)
    C++ supports OOP, which helps in organizing complex software projects through classes and objects, encouraging code reusability and modularity.
  • Standard Template Library (STL)
    C++ includes the Standard Template Library (STL) that provides a set of common classes and algorithms, enhancing productivity and reducing the need for writing boilerplate code.
  • Backward Compatibility
    C++ is largely compatible with C, offering the flexibility to use C libraries and code, making it easier to integrate with existing C systems.
  • Rich Community and Ecosystem
    The large and active C++ community provides extensive resources, libraries, and frameworks that can aid in development and problem-solving.

Possible disadvantages of C++

  • Complexity
    C++ is a complex language with many features that can be difficult to master, leading to a steep learning curve for beginners.
  • Manual Memory Management
    C++ requires manual management of memory which can lead to errors such as memory leaks and segmentation faults if not handled correctly.
  • Lack of Modern Features
    While C++ has been updated over the years, it still lacks some modern programming features available in newer languages, which can limit productivity and ease of use.
  • Maintenance
    Maintaining C++ code can be challenging and time-consuming due to its complex syntax and potential for low-level operations.
  • Slower Compilation
    C++ programs often have slower compile times compared to those written in some other high-level languages, which can slow down the development process.
  • Portability Issues
    Despite being a general-purpose language, C++ code can face portability issues across different platforms due to compiler differences and system-specific dependencies.

Analysis of Blockly

Overall verdict

  • Yes, Blockly is a good tool, especially for educational environments and projects that benefit from visual programming. It's well-supported by Google and the community, making it a reliable choice for developers.

Why this product is good

  • Blockly is a powerful library for creating visual programming editors. Its intuitive drag-and-drop interface allows both beginners and advanced programmers to create code blocks that can be converted into various text-based programming languages like JavaScript, Python, and more. This ease of use makes it an excellent tool for educational purposes and rapid prototyping.

Recommended for

  • Educators looking to introduce programming concepts to students.
  • Developers seeking to build applications with a visual programming interface.
  • Hobbyists interested in creating projects without extensive coding knowledge.
  • Organizations aiming to develop interactive tutorials and learning platforms.

Analysis of C++

Overall verdict

  • Cplusplus.com is considered a good resource for learning and referencing C++ due to its extensive content and user-friendly design. However, it's recommended to use it alongside other sources to get a well-rounded understanding of C++ concepts and best practices.

Why this product is good

  • Cplusplus.com is a popular resource for C++ developers because it offers comprehensive documentation, tutorials, and references. It is especially useful for beginners who need structured guidance. The site provides examples and explanations that are easy to understand, making it an accessible platform for learning the language. Additionally, the community forum allows users to ask questions and share insights, which can be beneficial for ongoing learning and problem-solving.

Recommended for

    Cplusplus.com is particularly recommended for beginners and intermediate C++ programmers who are looking for structured tutorials and reference materials. It can also be useful for experienced developers who want a quick reference guide or need to brush up on specific topics.

Blockly videos

Blockly: Using Block Based Coding in your App

More videos:

  • Review - Fable Blockly Review
  • Review - Trying Out Blockly, Google's New Programming Language [DiceTV]

C++ videos

C++ Programming | In One Video

More videos:

  • Review - C++ Programming
  • Tutorial - C++ Tutorial for Beginners - Full Course

Category Popularity

0-100% (relative to Blockly and C++)
Web Frameworks
100 100%
0% 0
Programming Language
0 0%
100% 100
Developer Tools
100 100%
0% 0
OOP
0 0%
100% 100

User comments

Share your experience with using Blockly and C++. For example, how are they different and which one is better?
Log in or Post with

Reviews

These are some of the external sources and on-site user reviews we've used to compare Blockly and C++

Blockly Reviews

Top 20 Javascript Libraries
Blockly, a creation of Google, is a web-based visual programming editor. When added to the code, the library adds an editor to the app that represents code snippets like loops, expressions, variables, and more as blocks. The best part is that you can create custom code, and the output is syntactically correct in your choice of the programming language. Blockly has no...
Source: hackr.io

C++ Reviews

We have no reviews of C++ yet.
Be the first one to post

Social recommendations and mentions

Based on our record, C++ should be more popular than Blockly. It has been mentiond 56 times since March 2021. We are tracking product recommendations and mentions on various public social media platforms and blogs. They can help you identify which product is more popular and what people think of it.

Blockly mentions (31)

  • Ask HN: Platform for 11 year old to create video games?
    Scratch is fantastic. There are also a number of similar (block-based) tools that let you create your own custom blocks and see the code behind them - e.g. Blockly (https://developers.google.com/blockly). - Source: Hacker News / almost 2 years ago
  • Ask HN: Modern Day Equivalent to HyperCard?
    If your kid is already doing Scratch, Blockly is a really easy next step. https://developers.google.com/blockly Critically, Blockly can emit JavaScript and Python, plus it supports plugins for extended functionality. So the kid can stay inside the blockly universe for as long as they like, but easily peer under the hood and get into Python or JavaScript as soon as they like. - Source: Hacker News / about 2 years ago
  • A shortage of teachers for computer science classes in California
    The issue with Alice is that graphical, block based coding is not at all an ergonomic way to code. Sure, C++ probably isn't the best for an intro CS courses, either, but even just Python with some wrappers over SDL to draw sprites is not only a better teaching tool it's also forms a more useful springboard to build other projects. Graphical, block based coding seems to be a common attempt to make coding more... - Source: Hacker News / over 2 years ago
  • โšง๏ธŽ Super Smash Siblings Trans
    Unless it would contradict canon, every stage is very bright, highly interactive, full of pre-placed items, and so huge that you can usually run from your NPC opponents and enjoy exploring the stage in peace while they catch up to you. All buildings have Linux computers with actual internet access that allow you to program and print out your own projectiles/books/flags/UNO reverse cards/shinigami eyes/soupcans/cis... Source: almost 3 years ago
  • Scratch is the worldโ€™s largest coding community for children
    If your kids tinker with Scratch, try out TurboWarp[1], a Scratch mod that compiles projects to JavaScript. Other alternatives to tinker with are Blocky[2] and Snap[3]. 1. https://turbowarp.org 2. https://developers.google.com/blockly/ 3. https://snap.berkeley.edu. - Source: Hacker News / over 3 years ago
View more

C++ mentions (56)

  • Distributed Systems: Challenges, Experiences and Tips
    About 4 months ago (approximately the last time I wrote something here), I opted to embark on a graduate school journey at Stony Brook University, Computer Science (if you have a remote position โ€” Technical Writer and/or Software Engineer position โ€” at a non-USA company, don't hesitate to reach out). Was it the best decision to make considering less pay (if any), more theoretical undertakings and assumptions, and... - Source: dev.to / over 2 years ago
  • Any opinion about tutorialspoint? Getting apparently wrong results
    Full of wrong and/or incomplete information. I prefer cplusplus.com when I need to look up some library details. Source: about 3 years ago
  • Learning DSA from scratch : The Ultimate Guide
    For C++ I would suggest using cplusplus.com. Fantastic resource to use. Source: about 3 years ago
  • Things that i should know before gettting into Data Structures and Algorithms??
    C++ was far from my first language. I took Modula-2 and FORTRAN in school. I knew about pointers, linked lists, etc before writing my first line of C++. I think the best way to learn is just to work on projects that interest you. Get familiar with online resources. I like cplusplus.com and cppreference.com (can get a little verbose). I'm also a big fan of w3schools.com. They have a good C++ tutorial for beginners. Source: about 3 years ago
  • Help
    I second this. cplusplus.com will pop up on your searches, I just blocked it. Loaded with ads and slow, and almost always less thorough than cppreference. I found geeksforgeeks OK when learning algorithms - not so much the language itself though. Source: about 3 years ago
View more

What are some alternatives?

When comparing Blockly and C++, you can also consider the following products

Spring Framework - The Spring Framework provides a comprehensive programming and configuration model for modern Java-based enterprise applications - on any kind of deployment platform.

Python - Python is a clear and powerful object-oriented programming language, comparable to Perl, Ruby, Scheme, or Java.

Spark Mail - Spark helps you take your inbox under control. Instantly see whatโ€™s important and quickly clean up the rest. Spark for Teams allows you to create, discuss, and share email with your colleagues

Go Programming Language - Go, also called golang, is a programming language initially developed at Google in 2007 by Robert...

Grails - An Open Source, full stack, web application framework for the JVM

Perl - Highly capable, feature-rich programming language with over 26 years of development