Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 293511
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 12, 20262026-05-12T06:16:56+00:00 2026-05-12T06:16:56+00:00

Managed languages being the ones that handle memory cleanup for you. EDIT I’m not

  • 0

Managed languages being the ones that handle memory cleanup for you.

EDIT I’m not talking about garbage collection. I was just interested in knowing about languages that would free() memory for me automatically, and still compile down to machine code.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-12T06:16:56+00:00Added an answer on May 12, 2026 at 6:16 am

    You seem to be confusing “Managed” and “Garbage collection”, while often managed languages (for example C# and Java) have automated garbage collection, “managed” actually refers to the fact that there is a “virtual machine” which executes your code (see http://en.wikipedia.org/wiki/Managed_code).

    So for example the CLR (common language runtime) is the virtual machine executing .Net code, and the JVM (Java virtual machine) is the virtual machine executing java code.

    You can in fact have Garbage collection for unmanaged languages (for example C++), and visa versa have managed languages without garbage collection (EDIT: I was looking for some but I can’t seem to find any unless Objective C counts, I’m not sure it makes a huge amount of sense to create a managed language without garbage collection anyway)

    Both of Java and C# can in fact be compiled directly into machine code, so they are executed directly and not using a virtual machine – for .Net code this is done using NGEN (in fact the CLR compiles .Net assemblies into machine code as you execute it, so-called “Just in time” compilation)

    EDIT: As an update to the update of your question, there are in fact a number of alternatives to garbage collection in a spectrum between the extreme of complete manual memory management and garbage collection, and a lot of languages which compile to machine code incorporate varying forms of memory management which dont require you to explicitly free memory.

    Can I ask – is this an “out of interest” question, or are you trying to select a language for a project – If the latter then why are you so interested in having your langauge compile down to machine code? Certainly in the case of .Net having your code JIT compiled offers a number of performance advantages (in the majority of cases), also NGENing your code doesn’t remove the dependency on the .Net framework.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Ask A Question

Stats

  • Questions 180k
  • Answers 180k
  • Best Answers 0
  • User 1
  • Popular
  • Answers
  • Editorial Team

    How to approach applying for a job at a company ...

    • 7 Answers
  • Editorial Team

    What is a programmer’s life like?

    • 5 Answers
  • Editorial Team

    How to handle personal stress caused by utterly incompetent and ...

    • 5 Answers
  • Editorial Team
    Editorial Team added an answer The best way I can think of is writing an… May 12, 2026 at 4:08 pm
  • Editorial Team
    Editorial Team added an answer Looks like the problem you're searching is in this line… May 12, 2026 at 4:08 pm
  • Editorial Team
    Editorial Team added an answer That's a linking error. Are you linking to the curses… May 12, 2026 at 4:08 pm

Related Questions

Managed languages being the ones that handle memory cleanup for you. EDIT I'm not
When working on hobby projects I really like to program in low-level languages (in
Let's say I have an existing application written in Java which I wish to
So like many people, I'm excited about Ruby on Rails. Being a Windows user,
When a new version of a framework or language appears (e.g. .NET 3.5, SQL2008),

Trending Tags

analytics british company computer developers django employee employer english facebook french google interview javascript language life php programmer programs salary

Top Members

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.