Posts

Showing posts from November, 2022

Naziur Rahman khan Fall 2022 SPO600 Project (Algorithm-part2)

                                          Implementation of ifunc-capable Software in Python(Continue) The language to be used For this project, I will be using the Python language to discuss the implementation of ifunc-capable software. The ifunc capability is a feature that allows users to call a function in an executable file without actually having to write the code for it. This can help reduce time and effort on programming projects and make the process more efficient overall. In Python, this feature is accessed using two different functions: `__import__` and `__callable__`. These functions allow developers to create functions that can be called inside other files without requiring any coding or compilation. The first step towards implementing ifunc-capable software in Python is understanding how these two functions work and what they do. To begin, the `__import__` function is used to load any module or package into the script. This can be done by providing the file path of th

Naziur Rahman khan Fall 2022 SPO600 Project (Algorithm-part1)

  Implementation of ifunc-capable Software in Python. Python interpreter has a great module called ifunc, which provides multi-threaded, compile-time function selection. It replaces some built-in functions with custom implementations at compile time. This allows the replacement function to specialize on a particular type or set of types. ifunc is implemented as an extension to the CPython interpreter and can be used with any language that can be compiled into Python bytecode, like Cython and PyPy. This blog post will show how useful it is to use ifunc-capable software in Python. We will also give some examples of code that uses ifunc. Plan for the project This project aims to develop an understanding of the implementation of ifunc-capable software in Python. If you're a Python programmer, then you know that ifunc is a powerful tool that can be used to great effect in your programs. However, implementing ifunc can be tricky, and it often needs to be clarified how to get starte

SPO-600 64-bit Assembly Language Lab4-part1

 In this lab we are asked to work with two machine, one of which is built on aarch64 and the other one is built on x86_64 architecture. I was asked to work and explore with different existing assembly programs.  At first, I extract the required file tree from both the machine. After that I explore the different directory codes and compare them with their "objdump -d objectfile" outputs. After that I tested two codes for two different architecture whose purpose was same. It took number 10 as the counter value and showed an output that amount of time using a loop.  You can see the screenshots of those experiments here .