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

  • SEARCH
  • Home
  • 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 7832865
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 2, 20262026-06-02T12:27:29+00:00 2026-06-02T12:27:29+00:00

In JVM based programs, you can compile a file to a .class file and

  • 0

In JVM based programs, you can compile a file to a .class file and be able to run the binary again, without compiling necessarily all the files.

Is it possible to do it in haskell? Is it imperative to compile and link all the files in the project? If yes, why?

What if there is no binary, you are only installing a library?

  • 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-06-02T12:27:30+00:00Added an answer on June 2, 2026 at 12:27 pm

    For GHC, you can change and recompile a single module without having to recompile modules depending on that, provided the exposed interface doesn’t change. GHC’s --make mode (default as of ghc-7.*) checks whether recompilation is necessary and recompiles only those modules where it can’t determine that it’s not necessary.

    If you have a cabal package and you cabal build after changing one module, you can see from the compiler output that it doesn’t recompile all modules in the package in general, only the changed module and [maybe] the ones depending on it.

    If you build an executable, that of course has to be relinked, but many of the old object files can be reused.

    If you build a library, the library archive of course has to be rebuilt, but many of the old object files can be reused.

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

Sidebar

Related Questions

The problem: I can't get my java app to run after compiling. My guess
All we know that JVM schedules the user threads in a single CPU based
Is JVM software based? If so in which language is JVM coded?
JVM runs on FreeBSD with 18Gb memory. creating core file takes about hour, which
I currently have a JVM-based network client that does an HTTP long poll (aka
I'm curious, why did Sun decide to make the JVM stack-based and Google decide
I'm working on a JVM project which uses ESRI components (COM based, wrapped with
Im currently creating a tile-based game for android. Using java via dalvik JVM. im
Our group is somewhat new to JVM based development. We are developing applications that
Looking for continuous integration server hosting or service for JVM-based projects which is free

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.