• Home
  • Search
  • Ray Tracing Through Functional Programming Language Using OCaml with Comparative Performance Analysis
  • https://doi.org/10.1109/ciacon65473.2025.11189694Copy DOI Icon

Ray Tracing Through Functional Programming Language Using OCaml with Comparative Performance Analysis

  • Jul 18, 2025
  • Poulomi Mukherjee +2 more
Show More
  • Abstract
  • Literature Map
  • References
  • Similar Papers
Abstract

This paper explores the theory and implementation of ray tracing in OCaml. We discuss the mathematical concepts and algorithms that drive the rendering process, followed by implementation using OCaml’s functional programming paradigm. Our analysis compares the merits and challenges of functional versus object-oriented (OO) approaches, highlighting the advantages of code clarity, static type safety, and ease of debugging in a functional style. With the development of functional programming module, it has been established that the debugging cost is higher in object oriented module. In this context the functional module can identify the errors at the time of compilation and we establish this fact with the development of code using OCaml. We also address performance considerations related to recursive function calls and state management complexities. Ultimately, we advocate for implementing a basic ray tracer in a functional style, demonstrating that this approach enhances code quality while aligning with the principles of immutability and strong typing.

Similar Papers
  • Conference Article
  • Citations1

Functional Classes: Cost of Recursive Method Call in Java

  • Aug 01, 2007
  • Hannu Mayra +1
  • Book Chapter

The Functional Paradigm

  • Jan 01, 2010
  • Maurizio Gabbrielli +1
  • Supplementary Content

Co-Contextual Type Systems: Contextless Deductive Reasoning for Correct Incremental Type Checking

  • Mar 02, 2020
  • TUbilio (Technical University of Darmstadt)
  • Edlira Kuci
  • Research Article
  • Citations186

Horizontal Energy propagation in a Barotropic Atmosphere with Meridional and Zonal Structure

  • Jul 01, 1983
  • Journal of the Atmospheric Sciences
  • Grant Branstator
  • Book Chapter
  • Citations6

Interactive Ray Tracing Using the Compute Shader in DirectX 11

  • Mar 01, 2012
  • Arturo García +3
  • Conference Article
  • Citations8

Towards A Generic Computational Intelligence Library: Preventing Insanity

  • Dec 01, 2015
  • Gary Pampara +1
  • Research Article

A Design Level Optimization Approach for Functional Paradigm Software Designs Considering Low Resource Devices Development

  • Jun 23, 2016
  • Indian Journal of Science and Technology
  • Selvakumar Samuel +1
  • Book Chapter
  • Citations3

Functional Data Structures

  • Oct 28, 2004
  • Chris Okasaki
  • Research Article
  • Citations14

Should ML be Object-Oriented?

  • Jul 01, 2002
  • Formal Aspects of Computing
  • David Macqueen
  • Conference Article
  • Citations7

Compiling functional languages for SIMD architectures

  • Dec 02, 1991
  • G.K Jouret
  • Conference Article

Can Programming Be Liberated from the Functional Style?

  • Jun 12, 2025
  • Friedrich Steimann
  • Book Chapter

Safe and Familiar Multi-core Programming by Means of a Hybrid Functional and Imperative Language

  • Jan 01, 2010
  • Ronald Veldema +1
  • Conference Article
  • Citations1

Three-Dimensional Channel Modeling and Analysis of Electromagnetic Field for WiFi

  • Dec 01, 2021
  • X Y Wang +4
  • Research Article
  • Citations20

Characteristics of thermospheric infrasound predicted using ray tracing and weakly non-linear waveform analyses.

  • May 01, 2021
  • The Journal of the Acoustical Society of America
  • Philip Blom +1
  • Conference Article

A Comparison of Satellite Signal Simulation in Street Canyon in 2D and 3D Deterministic Methods

  • Jul 01, 2017
  • Hossein Hadidian Moghadam +2
Cactus Communications logo

Copyright 2026 Cactus Communications. All rights reserved.